If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > modal dialog box

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-07-04, 00:05
michaelfg81 michaelfg81 is offline
Registered User
 
Join Date: Mar 2004
Posts: 202
modal dialog box

Hi there,

I need help on the function of modal dialog box.
I actually want a small page to appear in front of the mother page and make the mother page disable.
I manage to do that with this code

showModelessDialog("changePwd.asp","status:false;d ialogWidth:300px;dialogHeight:300px");

but somehow when i try to run it, error on the script come out stating that
Internet Explorer Script Error
'document.changeFrm.username' is null or not an object.
i actually use this code to make focus on the text box in the mother page.
can anyone help me pls.
thanx
Reply With Quote
  #2 (permalink)  
Old 07-15-04, 19:57
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
in the mother page change your script that sets the focus so that it checks to see if the username field is disabled or not. You can't set focus to a disabled field.
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On