- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2012 02:51 AM
Hi All,
Please let me know the basic purpose of gel function. Where we can use it?
Thanks!!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2012 04:59 AM
'gel' is simply a shortcut for 'document.getElementById', which is standard javascript. You would use it in client scripts mostly. Search the web for more info. Here's one example.
http://www.w3schools.com/jsref/met_doc_getelementbyid.asp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2012 04:59 AM
'gel' is simply a shortcut for 'document.getElementById', which is standard javascript. You would use it in client scripts mostly. Search the web for more info. Here's one example.
http://www.w3schools.com/jsref/met_doc_getelementbyid.asp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2012 02:09 AM
Thanks Mark for your prompt response !!
I would still require some more clarification regarding what is the basic difference between 'gel' and 'document.getElementById' and what all 'document.getElementById' can do and gel can't and vice-versa.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2012 04:23 AM
There is no difference. They're exactly the same except for the name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2012 09:20 PM
Thanks Mark!!