[jQuery] ajax data

2009-02-27 Thread hosemaria
Hi to all I got the following problem I want to send to PHP server nested json using ajax. {item1:'one', item2:'', item3:[{item31:'sdf', item32:'sdfs'}] } My code: $.ajax({ url: "translation_edit.php",

[jQuery] ajax data

2009-02-27 Thread hosemaria
Hi to all I got the following problem I want to send to PHP server nested json using ajax. {item1:'one', item2:'', item3:[{item31:'sdf', item32:'sdfs'}] } My code: $.ajax({ url: "translation_edit.php",

[jQuery] AJAX data in IE

2009-01-24 Thread Charlie22
hi crew, as ususally I have strange problem..take a look to code: $(function(){ $('.tablesorter').tablesorter({widgets: ['zebra']}); $('#subMenu a').click(function(){ var trida = $(this).attr('href'); console.log(trida); $('#content>*').remove();

[jQuery] jQuery Ajax Data url encoding

2008-11-07 Thread M_h
Hello, Im doing a simple ajax request: $.ajax({ type: 'POST', data: 'action=link&link=' + v, url: getLocation('?switch=link'), dataType: 'json', success: function(json) { showMessage(json.msg, json.status); } }); "v" in data is url like "http://localhost/pub/file? a=&g=1746&p=00&s=1

[jQuery] Jquery AJAX data (querystring restriction)

2008-07-12 Thread raj
Hi Guys, I have been using JQuery for quite some time now but I am now stuck with a problem. I have a form with multiple fields and in one of the field (comments) user can use it to provide huge comments (say more than 2500 characters). I dont know how to send this through JQuery since IE has a 2

[jQuery] AJAX data inserted into DOM does not trigger click-event

2008-06-15 Thread Thasmo
Hoi guys! I define a event trigger $('#id div a).click(). The url in the href attribute of the a tag is called via $.ajax and the returned data is inserted into the #id element. So, the actual HTML in the #id event is replaced by the data AJAX response data. After the data was inserted into the

[jQuery] Ajax Data Format Recommendation

2007-05-21 Thread SamCKayak
I did a little Json and some XML using prototype last year. Now I have jQuery and need to pass about 4 string parameters to the server, query a database, and return about 4 string parameters. My current method to post the get is: $.get("../survey/postsurveytodb.asp", { surveyid: