CopyPastor

Detecting plagiarism made easy.

Score: 0.8743984129721836; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2014-07-31
by amit 1984

Original Post

Original - Posted on 2012-12-19
by Ross



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I think the JQuery load function can do what you are after in less code. `enter code here` $(document).ready(function() { $('#dropdown').change( function() { $('#output').load('/contents.php',{dropdown: $(this).val()}); }); }); <select id="dropdown" name="dropdown"> <option value="QU">QU</option> <option value="QF">QF</option> <option value="QC">QC</option> </select>
I think the JQuery load function can do what you are after in less code.
$(document).ready(function() { $('#dropdown').change( function() { $('#output').load('/process.php',{dropdown: $(this).val()}); }); }); <select id="dropdown" name="dropdown"> <option value="QU">QU</option> <option value="QF">QF</option> <option value="QC">QC</option> </select>

        
Present in both answers; Present only in the new answer; Present only in the old answer;