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

Reply
 
Thread Tools

JScript Problem
Old 26.09.2002, 14:41   #1
hov
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: 09 2002
Location: Vik, Medieval Norway
Age: 43
Posts: 1,513
Rep Power: 5
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 ?
__________________
Rock Hovhannes.

Дневник
Stryfe.Am - Coming Soon!

Old 27.09.2002, 13:12   #2
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 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>

Old 27.09.2002, 16:22   #3
hov
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: 09 2002
Location: Vik, Medieval Norway
Age: 43
Posts: 1,513
Rep Power: 5
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.
__________________
Rock Hovhannes.

Дневник
Stryfe.Am - Coming Soon!

Old 27.09.2002, 18:37   #4
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 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




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 01:31.
Top

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