PDA

View Full Version : jQuerys' data



salihgedik
10 Sep 2009, 5:05 PM
Hello!
$(this).data("first-click", false); Its a jQuery code... How can i convert it Ext core? i have no idea.
Thank you in advance.
Best Regards

Animal
10 Sep 2009, 11:11 PM
Try explaining what you want to do, and someone will post code to do it.

salihgedik
11 Sep 2009, 5:54 AM
Well... I mean : $('#foo').val(); = ExtJs's Ext.get('foo').getValue();
and i have no idea about $(this).data("first-click", false);

Condor
11 Sep 2009, 6:00 AM
jQuery.data (http://docs.jquery.com/Core/data) attaches data to an element. Ext doesn't have a concept of a datastore per element.

salihgedik
11 Sep 2009, 6:28 AM
Thank you so much. Then its impossible... :)

Condor
11 Sep 2009, 6:34 AM
Well, not impossible, just a bit more work.

salihgedik
11 Sep 2009, 6:39 AM
I know... Not impossible. but its impossible with single line code :D