Basically i need a function that will be called every time a checkbox is checked to check if there are already 2 of them already checked and not allow the user to check any more (i.e. to limit...
Given a JSON object as below, what is the most efficient method of returning just the Value and Text value-pairs when the When is 26?
Hi all,
I need to add click tracking to an iframe... here is the code normally used:
onClick="VSLT('some description here')"
Now, adding <iframe onClick="VSLT('some description here')...
how to change the background image of a html table using javascript.
I think I have to use this functionality
document.getElementById("tablename").style.background = "url(fjell.gif)";
...
I need to display something on a website only during certain hours on certain days, with an alternative displayed at other times. The thing is, this is for the website of a client who employs ...
Normally I have a SUBMIT button:
<input type=submit name='Command' value='UPDATE STATUS' />
however, i'm trying to add an additional way to submit using onChange
The actual submit works,...
Hi
I Have an image if i want to click the image means that will call some javascript function !!
how can i achive this !!
Hello experts,
I'm trying to add and delete rows from a html table using javascript., but being the noob I am, running into issues. When I try to insert a row with a button, it adds it but ...
This is continued with http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_24699040.html but it is said to be abandoned.
Anyway, In the code below you will see that...
i need to know if tab is presst and if yes donsomthing
I have a content area with a mouseover event, and a mouseout event. For some reason mousing over divs tables and spans in the mouseover container triggers the mouseout event. Here is a very ...
Hi,
I am looking for a way to create a lightweight popup box on a website using Javascript and CSS. This would be used for such things as login boxes (in a similar way to the login box at ...
Hello Experts:
I am trying to put a search inside of my website. However I only know how to create a search using Google. Does anyone know how to create a search that does not use googl...
Before clicking submit three fields should be validated to verify data are in those fields. I have set the required attribute in the form but it doesn't validate. Any thoughts on how I can i...
Hi,
I have a page ex: Page1. Page1 is displaying document count and documents.
DocCont 10.
Document1 <a href="Page2">ReadMore</a>
Document2 <a href ="Page2">ReadMore</a>
Document3<a hr...
Hi All,
I'm having a big problem with Chrome, which seems to have a bug with the onkeypress event. I'm trying to fire a function when the user presses enter in an input, but Chrome seems to...
how do i open a link in the same parent window using javascript can you help here is what i have and it doesn't work
Is there a way to clear the browser cache (CTRL + F5) via a script?Bookmark:Question:
Hi All,
I've written a script that generates JPGs on the fly. They all use the same name, so for the...
Hello,
I'm sure this question has come up many times but... I use a session variable to send form data. When a person hits the back button to return to the form, the page is not refreshed, ...
Hi,
I found a script where i can get the geolocation of an iPhone and it works well. If there anyway i can modify the getLocation() function below to be compatible with google androids (and...
Hi All,
I need to be able to provide a function that will enable my user to save an image from my web page and save it to their machine. Similar to when you right-click an image and you get...
Hi,
I've used javascript show/hide div scripts before, but I need to show a hidden div when a radio button is checked "no" and to hide again if it's changed to "yes".
Can somebody please...
Hello,
I have the following code snippet that adds <option>s to a <select> box based on responseText coming from an AJAX request
How can I automatically give the attribute "selected" to the ...
Hello,
I am trying to find a way of closing (hiding) <ul>'s using javascript but need a better way than what I've currently come up with as the menu will be dynamic and I can't individually...
Hi,
I'm trying to write some code that will have a static list of places, around 500 in total.
The code sorts the lists and removes items that don't match the criteria and displays the r...