Does anyone know how to disable selecting when drawing VML objects? I
have a sketchpad program, where I draw polylines when you do a mouse
drag. The problem is that when i drag the mouse, it is drawing the line
but also selecting the previous VML stuff, which is sort of annoying.
Is there a way to disable this in javascript?
i build a website with draging of window like divs, but when somebody drags a div it sometimes selects some images. so im looking for a way to disable selecting images all over the website, i know its posible but i dont know how.
I've searched everywhere for this but can't find it. How can I select a particular value in a select dropdown box using javascript? (I.E a select box has 5 values, how can I select the 3rd?)
I have a form, with two drop down boxes. I want to be able to disable the second drop down box when a specific value is chosen on the first. I can't seem to figure out how to do this.
Go easy on me, I'm a newbie for the most part, but here is my code...
Does anyone know how to disable javascript in the new Netscape 8 -- for off line testing (like can be done readily with the current MSIE, Firefox or Opera browsers) ?
When I try tools -> options -> site controls -> web features and check or uncheck the 'enable javascript' box, nothing changes -- it stays enabled.
I've searched FAQs, archives and google about the issue, with no luck.
The odd thing is I swear last summer I managed past the problem intermittently by clearing the cache, restarting the program, rebooting the system, or something like that . . . but then got busy with other things and now I don't recall what I did -- or if I was dreaming.
If no-one else can disable javascript on NN8, then why worry? I don't know -- to be thorough, I guess. Would a third party security program 'disable javascript' feature be a way to test NN8 under these circumstances? Or maybe it's the case that the 'disable javascript' controls in NN8 work only for online content (the reverse of the MSIE controls). I'll check it out and report back.
If the browser disable the javascript, what happen to Ajax? can i slove the problem by using server side script? any suggestion for this?
i currently do some dirty projects with perl/cgi, and I would like to add more client side features which relate to ajax, and do some validation on the client side with javascript. but it is possible that the javascript may be disable with some browsers. what can i do if the client's broweer disable the javascript.
I want to disable a table with javascript. In this table i have 'n' record and each record has 3 buttons. If you click a button does an action. I want to disable the all table.
Is there any way to disable all this table without have to disable each button of each record?
Is there anyway of disabling images in javascript, so that the alternative text appears instead of the images? I'm trying to do a text-only version of my site.
I'm working on a little frames based web market research tool (not for public consumption) which allows us select various supplier websites via a link in a header frame, to be loaded in a main frame, from which we may drag data to be dropped into a form in a third form_frame which then submits to our database. All in all, this works nicely until we come to one of the supplier sites which has implemented a frame-killer script.
Now, I know it would be bad form (probably illiegal even) to force a site into the frames of another site for public consumption but I don't think that is an issue here so I ask you all ... Is it possible to disable JavaScript (on the fly) for a given frame only?
will both show the javascript link on the browser status bar...of course you can use onmouseover to set the status bar text...but you need to do on all the link....a little over kill.
Most of the browsers has a feature that prompts the user to save the username or password when filling a form.
I just want to disable this feature. Can i disable this feature using Javascript?
Because there are some users that will not read on the message or information on the pop window that prompts them to save the username and password. I know it can be disabled manually through the browser's preferences.
I'd like to set the align attribute of only the first TD in a TR for an entire table but am not sure how to address them all in one go. Probably an Nth child thing or similar but not sure!
I have a contact forum where i want the visitor to select if they're a member of not, if they select no, nothing happens but if they select yes a new text field pops up where they have to fill out their username. thing is, i've researched a lot and just cannot find out how to do it..
I have a javascript index that is similar to the one in the Windows help. It has a text field that allows the you to type text and it finds the closest item in the list below the text field. The list is simply a select element with options that looks like this:
My problem is when I have a large list, the closest entry selects the item in the list at the bottom of the list box, not the top of the list box.
So here's the question: Is there a way to get the list box to display the selected item and move it to the top of the list and not just find it at the bottom?
To get an idea of what I 'want' it to look like, in Windows, go to Help & Support (in XP it's in your start menu) and pick Index. I basically want it to mirror that functionality.
I have a drop down with alot of options say about 6000 cities and districts. I need to select all options if user selects "All checkbox". I use "on change" and a for loop to do this, but it takes a lot of time to select all these options. Is there any faster way to select all these options?
function selectAll() { var element = document.getElementById("location"); var length = document.getElementById("location").length;
I'm using one piece of code to select a particular value from the dropdownlist. To select the default value after successful execution...... $( "#titleDDL" ).val( '- SELECT -' ); But the desired output is got in Mozilla Firefox but not in IE7.
I'm trying to figure out how to select a value from a list that is filled dynamically using ajax auto suggest Take a look at the small code: when typing in a name by the keyboard this function is called: