15,127 Topics
| |
Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when … | |
Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max marks and Obtained marks as numeric values. Once entered dynamic rows will be created and it also calculate the percentage by the formula (om/mm)*100 for each … | |
[b]What works:[/b] I have an application running on a non-interactive kiosk that I need to keep updated with information that will be provided by a remote server. To do this, I've created an XMLHttpRequest/Microsoft.XMLHTTP object that checks the modified date in the header of a watched file that resides on … | |
Hi all, I understand that you cant disable a back button, but i do know I could open a new window, closing the window that instigated it. The following code does open a new window, but i want it to open a new tab. Also, its not closing the window … | |
The following javascript code does not work .Not able to figure out the reason.Cud anyone help plz [code=html] <html> <head> <title>AJAX RSS Reader</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <script language="javascript" type="text/javascript"> var RSSRequestObject = false; // XMLHttpRequest Object var Backend = 'http://www.google.fr/news?hl=en&ned=en&q=ajax&ie=UTF-8&output=rss'; // Backend url window.setInterval("update_timer()", 1200000); // update … | |
Hi all, im looking for some help with some javascript if thats ok. I am building a system for creating a booklet. I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125) Then also select the number of pages each … | |
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? |
The End.