jquery-onavailable icon indicating copy to clipboard operation
jquery-onavailable copied to clipboard

Selector Element for unAvailable

Open abanipatra opened this issue 12 years ago • 2 comments

Hi , First of all I want to thank you for creating such good plugin in jQuery. But I have suggestion to this plugin , the element selector part you have put now only ID or array of ID of elements , it would be better if you can use a element instead of that. So that that elements can be selected using class, tag or what ever .

I would like to know your opinion about my suggestion.

Regards Abani

abanipatra avatar Jul 30 '13 06:07 abanipatra

Try this one: https://github.com/furf/jquery-available

$.available('#myElement', callback) // or $('.myElements').ready(callback);

I haven't used it in a while, so let me know if you have any problems.

Here is another experimental technique that works specifically with elements, but could be tweaked to work with other "live" NodeLists (ie. getElementsByClassName): https://gist.github.com/furf/1167104

Let me know what you think.

Cheers! d

– dave furfero developer, furf, inc.

Write to me: [email protected] (mailto:[email protected]) Talk to me: 347-878-FURF (3873)

On Tuesday, July 30, 2013 at 2:58 AM, Abani wrote:

Hi , First of all I want to thank you for creating such good plugin in jQuery. But I have suggestion to this plugin , the element selector part you have put now only ID or array of ID of elements , it would be better if you can use a element instead of that. So that that elements can be selected using class, tag or what ever .
I would like to know your opinion about my suggestion. Regards Abani

— Reply to this email directly or view it on GitHub (https://github.com/furf/jquery-onavailable/issues/1).

furf avatar Jul 30 '13 19:07 furf

Thanks that other plugin (https://github.com/furf/jquery-available) helped me with above requirement.

abanipatra avatar Jul 31 '13 05:07 abanipatra