Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 26.09.2002, 15:41   #1
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: 09 2002
Location: Vik, Medieval Norway
Age: 35
Posts: 1,513
Downloads: 12
Uploads: 0
Reputation: 43 | 3
Post JScript Problem

Code:
 
Code
//Frame1

<form name=lialia>
<input type=text name=kuku>
</form>

//Frame2

<script>
frunction a()
{
parent.frames.Frame1.lialia.kuku.focus();
}

<a href=&quot;dsf.htm&quot; onclick=&quot;a();&quot;>sd</a>
harc: xi chi ashxatum ?
Reply With Quote
Old 27.09.2002, 14:12   #2
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Post

Code:
 
<script language=&quot;JavaScript&quot;>
function a(){
	parent.frames.frame1.document.lialia.kuku.focus();
}
</script>

<a href=&quot;#&quot; onclick=&quot;a();&quot;>Click Here</a>
Reply With Quote
Old 27.09.2002, 17:22   #3
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: 09 2002
Location: Vik, Medieval Norway
Age: 35
Posts: 1,513
Downloads: 12
Uploads: 0
Reputation: 43 | 3
Post

Pordzeci cheghav, baic asem vor dranic araj eli urish cod el ka et functiaium .
tipa
parent.frames.frame1.lialia.kuku.value ="dssdf";

u stegh aranc document ashxatuma.
Reply With Quote
Old 27.09.2002, 19:37   #4
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 36
Posts: 896
Downloads: 1
Uploads: 0
Reputation: 9 | 0
Post

Grum em qez amboghj code-@, vor@ im mot ashxatuma

index.html
---------
Code:
 
<frameset  rows=&quot;50%,*&quot;>
    <frame name=&quot;frame1&quot; src=&quot;a.html&quot; marginwidth=&quot;10&quot; marginheight=&quot;10&quot; scrolling=&quot;auto&quot; frameborder=&quot;0&quot;>
    <frame name=&quot;frame2&quot; src=&quot;b.html&quot; marginwidth=&quot;10&quot; marginheight=&quot;10&quot; scrolling=&quot;auto&quot; frameborder=&quot;0&quot;>
</frameset>
---------

a.html
---------
Code:
 
<form name=lialia>
<input type=text name=kuku>
</form>
---------

b.html
---------
Code:
 
<script language=&quot;JavaScript&quot;>
function a(){
	parent.frames.frame1.document.lialia.kuku.focus();
}
</script>

<a href=&quot;#&quot; onclick=&quot;a();&quot;>Click Here</a>
---------
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 18:49.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.