What is the alternate for gel() in client script

ramesh_r
Giga Sage

Hi All,

 

I have the client script with the gel() method but I want to replace gel() with something else.

Please help me with an alternate for gel() in the client script

Sample Line below:

var name = gel('service_select_0'));

 

Thanks

 

 

7 REPLIES 7

Mark Roethof
Tera Patron

Hi there,

 

You want to replace this with something else. Though, what do you have in mind? Or what is your reason / background for this? Please share a bit more so we can understand your request better, so we also can inform you correctly.

As per the best practice we should not use "gel()" right, so I want to replace it with some other best practice method

So is your question about avoiding the usage of DOM manipulation?

Yes, could you please provide the alternate option .?