Solved

Change the value of ondblclick event

Posted on 2008-06-12
1
952 Views
Last Modified: 2012-06-27
Hi, how can I change the value of ondblclick in the following code?
<tr style="display:none" onmouseover="javascript:parent.frames['leftFrame'].document.forms.Details.FileName.value='';parent.frames['leftFrame'].document.forms.Details.fileType.value='';parent.frames['leftFrame'].document.forms.Details.fileDateCreated.value='Date Created:';parent.frames['leftFrame'].document.forms.Details.FileDateAccessed.value='Date Accessed:'; parent.frames['leftFrame'].document.forms.Details.FileDateModefied.value='Date Modified:'; parent.frames['leftFrame'].document.forms.Details.FileSize.value='';" ondblclick="javascript:window.location.href='?action=viewfolder&path='" bgcolor="><font face="verdana" size="1"><td onclick="javascript:changeColor(this,event);" bgcolor="" align="left" valign="bottom">&nbsp;<input type="hidden" value='' id="folder" name="folder"/><INPUT style="display:none" onclick="javascript:parent.frames['topFrame'].document.getElementById('DeleteSelected').src='images/ico_del_on.gif';changeColor(checkfolder)" type=checkbox name="checkfolder" value='' ></td> <td onclick="javascript:changeColor(this,event);" bgcolor="" align="left" width="30%" valign=""bottom"" ><img src=""images/folder.gif"" > </td><td onclick="javascript:changeColor(this,event);"  align=""center"" width="15%" valign="bottom">folder</td><td onclick="javascript:changeColor(this,event);" bgcolor="" align="center" valign=""bottom"">&nbsp; </td><td onclick="javascript:changeColor(this,event);" bgcolor="" align="center" valign="bottom"></td><td onclick="javascript:changeColor(this,event);" bgcolor="" align="center" valign="bottom"><a target="BodyFrame" href="?action=RenameFolder&path=&folder="><img border=0  src=images/rename1.gif title="rename folder" width="20" ></a> <a target="BodyFrame" href="?action=deletefolder&path=&folder="><img border=0 title=delete src=images/ico_del_on.gif></a>&nbsp; <a target="BodyFrame" href="zipfolder.asp?f="><img border="0" title="zip file" width="15" hight="15" src="images/zip.gif"></a></td></tr>

Open in new window

0
Comment
Question by:Abdu_Allah
1 Comment
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 21774248
That is an invisible row.
How do you access that row by script?
The script to change the event hanler is like this:

theRow.ondblclick = function(){window.location.href='?action=viewfolder&path=' };

Or like this:
theRow.ondblclick = new Function("window.location.href='?action=viewfolder&path=' ");
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Redirect Website for Mobile Devises 9 111
age from date of birth 4 42
Browser Chrome downloads colored link 5 41
Jquery-Javascript setAttribute function help 7 10
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question