By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,917 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,917 IT Pros & Developers. It's quick & easy.

how to open new window in javascript on doubleclick

P: 21
Anyone plz tell me how to open new window in javascript,when double clicked on row of table.I know window.open(); But how on double click event?
Jan 16 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
ondblclick is what you need.
Jan 16 '08 #2

P: 21
ondblclick is what you need.
Actually I am doing project in asp.net.in that I am using Listview control in javascript.It allows user to select the row on clicking.But I want to open new window on double clicking.I am getting unique id of selected row.
Jan 16 '08 #3

acoder
Expert Mod 15k+
P: 16,027
Does [html]<tr ... ondblclick="window.open(...parameters,...,);">[/html] not work?
Jan 16 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.