I'm new to Javascript, and have found the following code that claims to write form data to a text file:
<html>
<SCRIPT LANGUAGE='JavaScript'>
function WriteToFile() {
try {
var...
How to check for "null" with in a JSP form and replace it with blank ie ' ' ..nothing.
Help please!
I have the following JSON object:
var json = {"Product":[{"Product_Title":"Beach hat"},{"Product_Title":"Blue Jeans"}]};
I am using the following loop to get records:
for (var x in js...
Hello
I want to make something like this
I have a webpage (index.html)
When i want to close the webpage (press x from up corner :-) i want to appear a dialog message
are you sure to close ...
I have a drop down menu that i created in dreamweaver. I would the menu to change the value of a textbox on my form rather that go to a new page. How can I do this with javascript. I have p...
Hi, I'm trying to find a way of retrieving the root path of the current site using JavaScript
The point is so that I can save it to a variable for use in JavaScript image references etc.
...
There's a great demo on the BlockUI plugin page for jQuery of a blue layer overlaying the page, then fading out. Unfortunately, I am a complete novice at jQuery and cannot get what I need to w...
Hello, I seem to have a problem which I've been trying to figure out for a few days now. I have some code that works perfect in IE, but I need to make it work also in firefox, so I ran up wi...
Will someone please fix this validation function? I dont want the alert popup in the function, I only want it to check the function below.
Hi,
I would like to compare two dates.
1) one date is from javascript variable format is(31-Oct-2005 15:54:36)
2) another one is todays date
3) I need to comapre
if (javascript var...
Hi,
I need some javascript jcode that can restrict input to a textbox to only allow integers to be entered. It is prefferable that it checks the input when they are typing it in as opposed...
I have a javascript shopping cart, which uses overflow:auto to add vertical scrollbars after the user has added so many items to their cart.
1. How do I use javascript to move the scrollbar...
I need javascript to simply stop and wait for a x amount of time. setTimeout function is worthless to me because all it does is tell javascript to remember to execute a function after certain ...
I have a bunch of asp.net labels. I change the text color to blue with onmouseover="this.style.color='blue';" and I change it back to black with onmouseout="this.style.color='black';"
I wou...
I have a dynamically generated table/contents that i want to give the user the ability to sort on multiple columns, columns will not always be beside each other
Rep Name (multiple occurrenn...
In my code, I have a
trow = document.createElement ("tr");
trow = orderdetails.insertRow();
Is there a way I could create an event (say Click) to this element? Something like
oncli...
Hi,
I would like to find out how to disable textbox from user entry. I have a form that consist of 2 portion (header and details). The detail portion has multiple rows(where I use a for loo...
I have a form where the action tag is set to a page. However, if they click on a certain button, the form needs to be directed somewhere else. Both situations require form validation. I'm c...
I'm using JQuery from this "Expandable side bar menu" example :
http://www.vimeo.com/116991
I'm trying to change the background colour of the selected/clicked on HTML element (a DT)
I wan...
I am trying to store an integer value in a cookie. the cookie code i have only uses strings, as i think it has to. so when i am given the value from a cookie, as a string, i need to change it ...
Hi i wonder if someone can help.
I am looking to create a link that when you click it it pops up a box to enter a title, and then adds this title as a parameter to the link, then forward to...
Hi Experts,
Is there a javascript alternative to this ASP syntax?
if inStr(textVal,"hello") then
conditional...
end if
I can pass java String object to a javascript function but cannot pass an array of string objects ... cant even pass the array objects individually ... any suggestions ???
PS : I cannot us...
Is it possible to use DHTML innerHTML to put text into an iframe? Or some other method to put text into an iframe without using the src for a file on disk?
At the bottom of my html page, I added the following:
<script language="JavaScript">
window.print();
window.close();
</script>
I get my print dialog, but after I close the print dia...