Jump to content
Sign in to follow this  
atomic

Javascript - Ubah Value Dari Frame Berbeza.

Recommended Posts

Assalamulaikum...

 

Nak tanya siapa yang mahir dgn javascript,

saya nak access function dari frame yang berbeza.

 

contoh :

 

frame_top (a.asp) nama frame --> "top"

frame_center(b.asp) nama frame--> "center"

frame_bottom(c.asp) nama frame--> "bottom"

 

katakan dalam page a.asp ada function click_GO(),

saya nak access function tu dari frame_center(b.asp)

 

contoh coding yang cuba tak berjaya:

parent.frames["top"].click_GO();

 

saya cuba set kan textbox readonly pun tak berjaya.s

parent.frames["top"].document.all.txtNm.readonly = true;

 

kepada saya sudi tolong saya dahulukan terima kasih. :)

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...