Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Screen name:
Constantine
Constantine's Profile
5
Posts
6
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Ideas
Problems
Expanded view
List view
Private Message
live widgets
[3Replies]
06-Jul-2011 04:46 AM
Forum:
Developing jQuery UI
It will be great if core widget framework support live() function to init newly created widgets
PrevAll order documentation
[0Replies]
14-Apr-2011 12:56 AM
Forum:
Using jQuery
Here
http://api.jquery.com/prevAll/#comment-33411999
guest asks about element order in prevAll function.
So my questions are:
does inverse order
guaranteed
why t
his feature isnt documented
example:
.class1 #id1
.class2 #id21
.class3 #id31
.class2 #id22
.class3 #id32
.class3 #id33
.class1 #id4
i'm have a node #id32 and i need first preceeding .class2
so i'm do $("#id33").prevAll(".class2").first()
could i rely on inverse order or once it could be broken
Feature reques: toggle attribute
[6Replies]
16-Mar-2011 11:50 PM
Forum:
Developing jQuery Core
usecase:
function onclick(){
if(expression == true){
$("#myselector").attr("checked","checked");
}else
$("#myselecto").removeAttr("checked");
}
So, maybe better add
$("myselector").toggleAttr("checked","checked");
$.each with null behavior
[1Reply]
03-Feb-2011 01:00 AM
Forum:
Using jQuery
why behaviour of
$.each(null,function(){alert(1)})
differs from
for(a in null){alert(1)}
jquery raises exception
TypeError: object is null
each: function( object, callback, args ) {
var name, i = 0,
length = object.length, <<-HERE COMES PROBLEM
isObj = length === undefined || jQuery.isFunction(object);
we should test is object is null
iteration context
[0Replies]
24-Jan-2011 11:58 PM
Forum:
Developing jQuery Core
Hi guys
look
I have <Select> and bunch of options var opts = {1:"a",2:"b"...} got with ajax
and i want to add options in single line
$("<select>")
.iter(opts,function(i,e){
this.append($j("<option>").attr("value",i).text(e)))})
.appendTo($(blah-blah))...
mostly same as each
jQuery.fn.extend({
iter: function( object, callback) {
var name, i = 0,
length = object.length,
isObj = length === undefined || jQuery.isFunction(object);
if ( isObj ) {
for ( name in object ) {
if ( callback.call(this, name, object[ name ] ) === false ) {
break;
}
}
} else {
for ( var value = object[0];
i < length && callback.call(this, i, value ) !== false; value = object[++i] ) {}
}
return this;
});
«Prev
Next »
Moderate user : Constantine
Forum