All Questions
226 questions
-1
votes
1
answer
310
views
Jquery Resize event handler
Can anyone help me in knowing about the resize event handler in jquery. I'm not able to understand the importance of ben-Alman 's jquery resize plugin. I got to know that we can handle resize events ...
1
vote
0
answers
465
views
Cascading calls between custom jQuery selectors - Poor Performance
I have a jQuery plugin with some custom selectors. In one of the selectors, I want to call another custom selector to filter the results before calling the current one.
So, for example I have :foo ...
1
vote
1
answer
2k
views
Check if elements has\belongs to the same parent
I have another question.
For example we have an HTML:
<div id="imageDiv>
<a id="testA">
<img alt="" src "" id="img1">
<img alt="" src "" id="img2">
<img alt="" ...
2
votes
1
answer
2k
views
Mottie virtual keyboard and Chosen Selector
I am trying to get the following two excellent jQuery plugins to work together.
virtual keyboard plugin by Mottie: (github.com/Mottie/Keyboard)
a selector called Chosen which does filtering of the ...
0
votes
5
answers
3k
views
jQuery li element select by ID
can anyone please help?
I have a HTML code like this.
<ul class="nav navbar-nav navbar-left">
<li>
<a href="#"><img src="img/...
0
votes
1
answer
34
views
Optimize DOM selection in jQuery
Here is a commplete DEMO
I am new to JavaScript/jQuery plugin.
How to create a jQuery plugin for the following script and DOM selection can be more optimize.
var option = {"N":"None","F":"Friends","...
0
votes
2
answers
55
views
How to target javascript rendered markup
I am struggling with targeting markup that is rendered by a plugin. I am using this plugin:
http://jellekralt.github.io/Responsive-Tabs/demo/demo.html
You will find the site here:
kenaesthetic.com
...
0
votes
3
answers
177
views
A good method for passing 2 selectors into my jquery plugin for use with .on()
Many jQuery plugins do something like this:
$('#selector').myPlugin({option:"value"});
However, inside myPlugin I want to use jQuery .on(), so I need another selector:
// my-plugin.js
(function($){
...
0
votes
2
answers
497
views
How can I retrieve the target element that a jquery plugin is attached to?
I am new to writing JQuery Plugins...and have a question regarding returning the selector used to bind the plugin to.
Lets say we attach a jQuery plugin to an element like this...
$(".someClass")....
4
votes
1
answer
1k
views
What replaces the deprecated property this.selector
In creating my first jQuery plugin I want to use selectors inside the plugin code that are confined to the outermost selector. this.selector is perfect. It is, however, being taken away. :/ So rather ...
1
vote
1
answer
1k
views
Jquery Mobile: Canot re-enabled disabled option within jquery select (mobiscroll)
I'm trying to disable all non valid options within a jquery select..... disabling specific options works fine, but when I want to re-enable them, they still stay disabled.... I've googled and tyried a ...
0
votes
1
answer
77
views
How can i replace the DOM in $(this) with another DOM
I have a HTML Content like below
<div class="form-field">
<div style="width: auto; display: inline-block; min-width: 108px;" class="form-field-header">
<div class="form-...
4
votes
3
answers
841
views
Get all elements like myself in jQuery?
Lets say I have this structure ( no classes , no Id's): - it's a location finding question
The d[0,1,2] are pure divs . no class no id.
div (d0) wrapps a repeating structure like :
And let's say I ...
1
vote
2
answers
633
views
open tree nodes with id starting with a particular word
I am using jsTree and so far it's looking good.
I have a list of nodes whose id gets incremented with every new node like(g1,g2,g3 ...and some other nodes like k1,k2,k3)
I can open a specific node ...
0
votes
2
answers
648
views
jquery filtering - return div according it's data-id
I'm trying to select every div with class='selectthis' and return their sibling divs (also make them un-draggable) if parent div's data-id not equals to 0.
Here is fiddle: http://jsfiddle.net/umvQJ/...