01/09/2015 Learn a little more about Javascript World each day, with www.Planet-Source-Code.com's Code of the Day! Current # of subscribers: 2,605 |
Make 9 cents to $300 per game playing Dollar Candy. The better you get, the more you make. Click for more info.
=================================================================
Would you like access to thousands of lines of source code instantly from your desktop? Then check out the Planet Source Code CD...hundreds of amazing programs at your fingertips with no online wait!
Click Here!
Code of the Day: (What is the code of the day? )
1) ajax in jquery
Submissions Since Yesterday:
2) Shortcut ajax in jquery
3) ajax in jquery
1)ajax in jquery
Category: Coding Standards
Level: Intermediate
Description: ajax in jquery: The simple way to use ajax in jquery is below: You may find here code: http://agalaxycode.blogspot.in/2015/01/ajax-in-jquery.html $.ajax({ type: 'GET', async: false, cache: false, timeout:5000, url: 'ajax_util.php?'+new Date().getTime(), data: { f_for: 'get_topic_by_lesson_id',lesson_id:1}, dataType: 'json', success: function (data) { $.each(data.get_topic, function(idx, obj) { var topic_id=obj.topic_id; var topic_nm_val=obj.topic_nm; $('#topic_nm').append('<option value="' + topic_id + '">' +topic_nm_val+ '</option>'); }); } });
Compatibility: JavaScript
Submitted on 1/8/2015 12:35:12 AM and accessed 19 times.
Back to Top
2)Shortcut ajax in jquery
Category: Coding Standards
Level: Intermediate
Description: Shortcut ajax in jquery : If you have any problem,then you find full code here: http://agalaxycode.blogspot.in/2015/01/ajax-in-jquery.html
Compatibility: JavaScript
Submitted on 1/8/2015 12:51:00 AM and accessed 27 times.
Back to Top
3)ajax in jquery
Category: Coding Standards
Level: Intermediate
Description: ajax in jquery: The simple way to use ajax in jquery is below: You may find here code: http://agalaxycode.blogspot.in/2015/01/ajax-in-jquery.html $.ajax({ type: 'GET', async: false, cache: false, timeout:5000, url: 'ajax_util.php?'+new Date().getTime(), data: { f_for: 'get_topic_by_lesson_id',lesson_id:1}, dataType: 'json', success: function (data) { $.each(data.get_topic, function(idx, obj) { var topic_id=obj.topic_id; var topic_nm_val=obj.topic_nm; $('#topic_nm').append('<option value="' + topic_id + '">' +topic_nm_val+ '</option>'); }); } });
Compatibility: JavaScript
Submitted on 1/8/2015 12:35:12 AM and accessed 19 times.