Hi,
Here data : $('#form').serialize() you are serializing the data,
so in the php i guess you need to unserialize it, dunno but maybe that
is the problem with your script.
Here's how i do it, i use json btw:
$.ajax({
type: 'POST',
url: 'ajax.php',
data: 'quantidade=' +
The simple solution would be to use $.getScript(url, callback).
However, know that if you insert HTML anywhere in the page using
jQuery, it will search for and execute any script tags in that HTML
automatically. For example:
$.get('/my/url/with/html_and_jscript.html', function(data) {
thanks for the quick response, james!
it works now, i used your first suggestion since i had a problem with
the other one (got an error):
$(#searchButton).click(function()
{
var url = 'http://gdata.youtube.com/feeds/api/videos?q=' +
$('#searchText').val() +
3 matches
Mail list logo