Dear all,
I am 1 month old to web development. just a week before, I got two extremely
useful thing in my hand which I am learning now,, (jQuery and JSON)
May be i am wrong , But as per my understanding JSON can be used as argument
passer,, for example..
I mean ,, if we have this code
function myFun( x, y ,hedight , width){
 // some code
}

for this we always need to remember the order of arguments,,
but , instead of this can we pass argument with JSON??
like
var myob = {
"y" : 56,
"width" : 60,
"height" : 100,
"x" : 200,
}
function myFun( my_ob){
 // some code
//my_ob.x
//my_ob.y
//my_ob.width
//my_ob.height
//??
}
But I never saw any example with such approach,, Ya i am just 7 day old to
JSON, so wanted o have your Guidance..

Also,,, I want to ask,, DO jQuery plugins use this ??

-- 
┌───[ Narendra Sisodiya ]──────────────┐
│     http://narendra.techfandu.orghttp://www.lug-iitd.org
└────────────[ +91-93790-75930 ]──────┘

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to