tmoullet
11-03-2010, 10:14 PM
Hello,
I have these two lines of code:
var initials = $("#initials").val();
$.get('/ajax/shelf_section.php?shelf_id=<?php echo $shelf['id']; ?>&initials=intitials');
I would like to pass in the variable defined in the first line, initials, as the get parameter at the end of the second line.
How do I do that...?
Thanks,
Tom
I have these two lines of code:
var initials = $("#initials").val();
$.get('/ajax/shelf_section.php?shelf_id=<?php echo $shelf['id']; ?>&initials=intitials');
I would like to pass in the variable defined in the first line, initials, as the get parameter at the end of the second line.
How do I do that...?
Thanks,
Tom