corelogicimpl

Wednesday, January 20, 2016

$.each

// call to server
$.get(index.action,function(res){

if result list of object from server 
result = $.parseJSON(res);

    eachobj is sinlge object that is contained in list 
  $.each(result,function(i,eachobj){

id=eachobj.id;
 
});

});
Posted by Abishkar Bhattarai at 5:11 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Jquery

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

  • AngularJs
  • BackBone
  • Caching
  • Extjs
  • Hadoop
  • Hadoop 2.2.0
  • JavaScript
  • Jquery
  • Linux
  • Load Testing
  • Server Configuration
  • Shell Script
  • singlepageapplication
  • Spring
  • swift programming
  • Version Controlling and Branching

About Me

Abishkar Bhattarai
From Nepal
View my complete profile

Categories

  • ►  2021 (1)
    • ►  August (1)
  • ▼  2016 (24)
    • ▼  January (24)
      • Object as a key value as map
      • Jquery selector for table manipulation
      • div > p and selecting all selected rows
      • .serializeArray
      • .find
      • .delegate()
      • .closest
      • Adding Tab
      • .load
      • .data()
      • prop()
      • insertAfter,append(),appendTo()
      • Hide() and Show()
      • .next()
      • .prev()
      • .children
      • $.map
      • .html(),.attr()
      • $.each
      • parseJSON
      • $.get
      • Array Inside array
      • Access Control list in javascript
      • Objects and Callback
  • ►  2015 (87)
    • ►  December (26)
    • ►  November (49)
    • ►  October (8)
    • ►  February (4)
Simple theme. Powered by Blogger.