Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 27th, 2007, 02:37 PM
Registered User
 
Join Date: Aug 2007
Location: Derby, Derbyshire, United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Programmatically call onChange handler

I am using a popup calendar to populate an input field. When the contents of this field change I need the onchange event handler to fire. It will fire if I manually type the date into the field but not if I populate the field using javascript. How can I programatically call the handler?


Reply With Quote
  #2 (permalink)  
Old September 3rd, 2007, 09:24 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Langdale!!

You will need to modify the popup calendar code ,whenever u click on the date of the popupdate calendar, ur clicked date is set to the parent window field within the same popup window javascript code ,modify it so that it will also call the onchange events.
or u can also call parent window javascript function for the same from the popup window.

Hope this will help you,jst try ,it will work 100%


Cheers :)

vinod
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
onChange Event mcinar Javascript 11 May 11th, 2007 09:38 AM
Call Standard Module Error Handler from From mod johndickerson VB Databases Basics 4 April 20th, 2007 01:53 PM
Call Standard Module Error Handler from Form mod johndickerson BOOK: Beginning Access 2003 VBA 0 April 19th, 2007 11:12 AM
"onchange" not fired fskilnik Dreamweaver (all versions) 2 January 2nd, 2006 05:23 PM
'onChange' crmpicco Javascript How-To 2 January 28th, 2005 05:37 AM



All times are GMT -4. The time now is 08:42 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.