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:
jeanerich
jeanerich's Profile
2
Posts
1
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
Problem getting field value from Modal Windo.
[0Replies]
23-Jun-2010 03:24 PM
Forum:
Using jQuery
Eh everyone,
I've been having no luck trying to get values from fields inside a window that is appended to the document (My main Page Container class).
When I use the .val function on my fields, I get empty results when someone click on "Submit".
$('#login').click(function(){
$('.container').append("
<div class='window'>
<div class='closeWindow'>
</div>
<h1>Login:</h1><br/>
<b>Email:</b><br/>
<input type='text' id='loginEmail' name='loginEmail' value='' size='30' class='bigField' /><br/><br/>
<b>Password:</b><br/>
<input type='password' size='30' id='loginPassword' name='loginPassword' value='' class='bigField'><br/><br/>
<div class='messageBox'></div>
<button id='loginSubmit' class='button' name='loginSubmit'>Login</button></div>"
);
clickLogin();
});
);
function clickLogin(){
$('button#loginSubmit').click(function (){
var email = $('input#loginEmail').val();
var password = $('input#loginPassword').val();
alert(email+password);
});
Gets me blank results... Anyone can help?
Thanks!
JE
}
Empty date field with Datepicker
[2Replies]
12-May-2010 10:57 PM
Forum:
Using jQuery UI
Hello,
For some reason, my date field ends-up empty when loading the page. here is the code:
// ---------------- HEAD ----------------------//
$(function() {
$("#start_date").datepicker();
$('#start_date').datepicker('option', {dateFormat: 'yy-mm-dd'});
$('#start_date').datepicker('option', {dateFormat: 'yy-mm-dd'});
$("#end_date").datepicker();
$('#end_date').datepicker('option', {dateFormat: 'yy-mm-dd'});
});
// ---------------- FORM FIELD ----------------------//
<input type="text" size="10" name="start_date" id="start_date" value="2010-01-01" >
The Datepicker works very well, but for some reason, it doesn't want to display the initial value when the page is loaded. Probably a newbie question, but I'm sure someone has the answer! :)
Thanks in advance!
JE
«Prev
Next »
Moderate user : jeanerich
Forum