hey all
i have a page with a table, and when the user doubleclicks a row in
it, a window is opened. The problem is, if he doubleclicked a text in
the row, it's becoming selected.
what i want is to disable the selection upon doubleclicking, but no
the selection at all (so that the user can still just use the mouse to
select some text in the table).
is there a javascript command that can disable the selection currently
highlighted?
thanks
yair 1 12141
"ManoDestra " <ap*****@ntlwor ld.com> wrote in message news:<9O******* ***********@new sfep1-win.server.ntli .net>... The simple answer is don't use double click. Use the click event instead or add an extra column with a link in it to open a new window. I would never use a double click event as it is often used in browsers for other things. Not sure if setting the DoubleClick event for the window would work, but you could try.
window.ondblcli ck = someFunction;
function someFunction() { //Put your code here to open a new window and see if it works. }
Peter.
"yair" <ya***********@ hotmail.com> wrote in message news:c7******** *************** **@posting.goog le.com... hey all i have a page with a table, and when the user doubleclicks a row in it, a window is opened. The problem is, if he doubleclicked a text in the row, it's becoming selected. what i want is to disable the selection upon doubleclicking, but no the selection at all (so that the user can still just use the mouse to select some text in the table). is there a javascript command that can disable the selection currently highlighted? thanks yair
thanks for the response.
i m just asking how can i unselect when a text is selected.
yair This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: JML |
last post by:
Hi guys,
I need HELP
I am trying to disable submit button after user submits the form.
thanks in advance
--
|
by: Bob Bedford |
last post by:
I create checkboxes using datas from a database (with PHP).
I store all values in an array, as I must pass this value like a Form value.
Now, in some cases, when a checkbox is selected, I must disactivate other
checkboxes.
How can I do this ?
here is the code:
|
by: MT |
last post by:
Hi,
I am currently validating an XML file against a Schema using
XMLValidatingReader. The schema actually contains ranges for particular
elements and I have been using it to detect range errors before it gets to
my program. The way the rangechecking works is that every element that needs
range checking is defined as an element with a particular type in the XSD.
For example,
<xs:element name="Row" maxOccurs="48">
|
by: John Grandy |
last post by:
On a .aspx page I have seen commercial controls that serve as replacements
for the <asp:Button> control that immediately disable the button on form
submission so that accidental double-clicks (or impatient multi-clicks ) do
not trigger the server-side event-handler multiple times ....
However, 3rd party controls are not an option for this app.
Currently, I have an <a href='...' > tag embedded in an <asp:ItemTemplate>
in an...
|
by: Chris |
last post by:
I have an asp.net page say page1.aspx. The form in html code is <form
id = "Form1">
And i want to disable all the fields of the form after some code steps.
I had created a javascript funct:
function disable()
{
alert("Forms length is :" + Form1.length);
for (i = 0; i < Form1.length; i++) {
var formElement = Form1.elements;
| |
by: ibiza |
last post by:
Hi all,
I have a quite big webform that has about ~15 validators. I found,
after having looked at the generated HTML source, that the filesize is
pretty big : about 65KB. Then, I added to every validator the property
EnableClientScript="False", because I already have my neat client
validation scripts. That cut off the size of the generated source to
~45KB.
However, even if there is no asp.net client script supposed to validate
|
by: Ryan Liu |
last post by:
In C#, for a large float (9 digitals), how can I disable Scientific
notation. When it auto convert to Scientific notation, I lost accuracy.
Thanks a lot!
Ryan
|
by: kschneider |
last post by:
Assume there's a form with it's action attribute all set to post to a
URL, but without a submit control. Form submission is done via a link
and I want to prevent the classic "double submit". Ignoring the server
side of things, does anyone see any holes with the following script? It
seems to work, but I'd appreciate other eyes on it. Maybe a
try/catch/finally wrapper of some sort to be sure the link is
re-enabled in the face of an...
|
by: RedDevilDan |
last post by:
I am working on a Memory Footprint Reduction project. I came across an
idea to disable all printf statements so that less memory is required.
In addition, when there is no single printf statement, the printf
library will not be linked, so it further reduces the executable size.
Is there an easy way to disable printf in a large project? In my
project, we have thousands of C & C++ files. They don't have a common
included common header. ...
|
by: =?Utf-8?B?bV9nZWxs?= |
last post by:
Hi, anyone know how to disable reflection on sensitive code?
Here is specifically what I'm trying to do. I have one method in a class
within an assembly I'm trying to prevent using reflection to see the code.
The code contains a hardcoded key word that I do not want to be seen in any
way.
I've tried using ReflectionPermissionAttribute but don't know if this will
do what I want.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |