15,121 Topics
| |
I am pretty sure this is easy to figure out, but I don't know javascript that good. I am trying to declare variables dynamically but what I have below does not work. What I want to accomplish is the following. var id1 = document.getElementById("sid").value; var id2 = document.getElementById("sid").value; var id3 … | |
i'm driving insane right now i have a form wich has a lot of stuff in it as you fill it, javascript generates the OPTIONS[] for four SELECT objects at the end of the form. they are generated right and i have no troubles up to this point until... i … | |
i've got a program that gets input from a user, and then stores it in a cookie. That bit is fine, what is a problem is that its just overwriting the data each time a new entry is made, i believed this to be something do do with it not … | |
i have used the below function to open a separate page for search results to open up in - althoug it seems that the css seems to get messy what must be the problem? is anyone willing to help? if so please let me know ur skype add so i … | |
There are two basic things i need to get help with: 1. A selection from the list in question 3 can only be made if the user selected at least 1 check box in question 2. If the user enters a valid value in the question 5 text box then … | |
Problem with [url]http://www.javascriptkit.com/script/script2/ajaxtooltip.shtml[/url] If i have lots of links on a single page close to each other, and i hover each one a little fast then the divs opened stay open until i hover the link again of the opened div to close it. Can someone point me out to … | |
I am using a script from Dynamic Drive and have posted this on their forum as well, with no luck. The script looks great in every browser but IE. When you hover over the parent page and the child pages show up, they go away when you start to scroll … | |
Please help! I have the following code in the head section of my web page: <script> ..... var serverLoc = "http://www.mydomain.com/mypath/"; var serverFile = serverLoc+"myexcel.xls"; var ehandle = new ActiveXObject("Excel.Application"); //error occurs var eWBhandle = ehandle.Workbooks.Open(serverFile); var eShandle = eWBhandle.ActiveSheet; var cell1 = eShandle.Cells(1,1).Value; // get more data ..... </script> … | |
Hey everyone, I just got a solution from here, but I think I spoke to soon, as I ran into another problem right away. I have been playing around with it for a couple days now, and just hoping that someone could explain or see why it isn't working. I … | |
i want a print button to be able to print out details of a php form by connecting to a printer. can someone explain this to me with an example code please? | |
hello, I am trying to enable validators using javascript and they get enabled as expected but when I am trying to disable them they give an error and then get disabled. I think I am missing a logic on how to disable them. My code is supposed to validate two … | |
Hey all, I'm having to write a program that generates a random number between 1-1000 and then allows the user to make guesses in a text box, answering to high or to low, until the correct answer is entered. I had the program working fine with using strictly prompts and … | |
In my current project we need to provide drag&drop functionality of items from left to right and vice-versa and on click of the button send array of item IDs to server. Main problem was that we couldn't get array across to server and online examples that we found did not … | |
Hi all.I have been using a certain javascript code to display a "Please wait..." message on screen but it seems to work in some instances and not in others.Please assist me with javascript code that works in all instances Below is the code I currently use. In the head tags … | |
I need to validate three image fields with javascript so the user cant upload anything else expect files with image extensions. A i also need to control the size of the image, for example to restrict user uploading files with greater size than 1MB. Does this thing can be done? … | |
i would like to ask if there is a way to change on a drag and drop jquery i use the image src from the li div that i drag it on the ul div that i drop it... with a jquery i found something like this [CODE]$('#dropContainer').droppable({ drop: function(e,ui) … | |
Thanks for your help in advance. I have my draggable using JQuery and it woks great. The problem now that I am having is that when I put in a Java Script Applet/Widget I have to put this in the code: <script type="text/javascript">some widget code information</script> So my code looks … | |
Hey guys, I have a drop-down box which lists manufacturers of computer products. I want it so that when a user clicks "Other" from the drop-down box, a new input field appears below it which asks them to specify an alternative manufacturer. [CODE]<select name="cat" id="cat" onchange="setCategories();"> <option value="components">Components</option> <option value="pcs">Desktop … | |
how do we use javascript to make the amount entered in a text box not greater than 1000? | |
Hello all, I'm hoping to get at least a pointer in the right direction here. Long story short, I've got a DB that I'm displaying information from. I'm doing so using a GridView under a TabContainer / UpdatePanel. Everything works fine, except one weird point - if you click on … | |
i am making a program in a JSP. i have used some java script code in this program. by this program i can find out the result for between years for any class. i have three combo box for class_name, from_year, to_year. for class_name, Its value is 1 to 12. … | |
Hi, I am writing a code for a restaurants online order service so that products can be delivered to customers. I have completed the code but the owner has said that they have recieved bogus orders and i have decided that a validation on the order form is needed for: … | |
Hi, I am currently helping to create a script for a restaurant's online delivery service. The restaurant has a minimum order of £10 and i want to incorporate this into the script e.g. a customer's order comes up at £8 and clicks submit, a message box displays "Minimum order is … | |
Anyone know how do I use javascript to limit the numeric amount enetered in a text box less than 1000? | |
I'm trying to validate my xhtml page using the w3c validator, but there is 1 error: Line 103, Column 15: there is no attribute "name" <form name="checkForm" action="http://tl28serv.uws.edu.au/twainfo/form.asp" … You have used the attribute named above in your document, but the document type you are using does not support that … | |
Hy again! =) Here's my problem. My AJAX doesn't want to work, and Firebug gives me this error message: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [url]http://localhost/mysite/js/functions.js[/url] :: callSaveFile :: line 273" data: no]". So as u see I'm using … | |
Hello, I have been searching for a solution on how to solve this problem for almost a month now. I'm at a point where I feel like I've traveled around the world 7 times and still haven't found the answer. I hate introductions so I'm just going to go ahead … | |
Hi, I want to send three text box values to server using jquery ajax. problem is that, i dont know the exact syntax to send three data. When i try sending one data(also change no.of parameters to one at server side method), its going good but when i try to … | |
how do we use javascript to only allow selection from the list in question 3 to be made IF the user selected at least 1 check box in question 2? below is my code: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title> Example … | |
Hi there, I am having some issues with getting a variable from an onclick event with javascript. [CODE] $('#preview_logo').append('<img src="'+fileObj.filePath+'" height="100px" hspace="5" /> '+fileObj.name+' uploaded.<a href="javascript:;" id="dele_image" onclick="del_image('+fileObj.filePath+','+fileObj.name+');">Upload Different Image</a><br>');[/CODE] This is for uploadify script for previewing an image that is uploaded, it creates the link fine, but won't trigger … |
The End.