15,127 Topics

Member Avatar for
Member Avatar for Moderns

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 …

Member Avatar for Moderns
0
111
Member Avatar for Santho786

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 …

Member Avatar for Santho786
0
133
Member Avatar for hsthompson

[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 …

Member Avatar for hsthompson
0
110
Member Avatar for whiteyoh

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 …

Member Avatar for Airshow
0
57
Member Avatar for gear26926

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 …

Member Avatar for Airshow
0
170
Member Avatar for vlowe

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 …

Member Avatar for Airshow
0
281
Member Avatar for danarashad

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 …

Member Avatar for scrappedcola
0
103
Member Avatar for vitroblue

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 …

Member Avatar for Airshow
0
139
Member Avatar for Atomika3000

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 …

Member Avatar for Airshow
0
108
Member Avatar for rukshilag

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 …

Member Avatar for Airshow
0
146
Member Avatar for Roses89

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 …

Member Avatar for Roses89
0
165
Member Avatar for vince.

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 …

Member Avatar for massimo2010
0
113
Member Avatar for mattbaehr

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 …

0
70
Member Avatar for ms_sws

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> …

Member Avatar for fxm
0
554
Member Avatar for cjay175

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 …

Member Avatar for cjay175
0
598
Member Avatar for rukshilag

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?

Member Avatar for Airshow
0
116
Member Avatar for user1980

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 …

0
77
Member Avatar for tjhart

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 …

Member Avatar for parry_kulk
0
645
Member Avatar for peter_budo

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 …

2
905
Member Avatar for dangari

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 …

Member Avatar for harshal82
0
2K
Member Avatar for besart

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? …

Member Avatar for Jasmine_Pearl
0
168
Member Avatar for manolisvl46

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) …

0
79
Member Avatar for Ender330

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 …

0
59
Member Avatar for nonshatter

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 …

Member Avatar for nonshatter
0
162
Member Avatar for Izzy123

how do we use javascript to make the amount entered in a text box not greater than 1000?

Member Avatar for scrappedcola
0
80
Member Avatar for Doward

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 …

Member Avatar for Airshow
0
74
Member Avatar for vij123

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. …

Member Avatar for vij123
0
144
Member Avatar for shep32

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: …

0
79
Member Avatar for shep32

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 …

Member Avatar for shep32
0
102
Member Avatar for Izzy123

Anyone know how do I use javascript to limit the numeric amount enetered in a text box less than 1000?

Member Avatar for vitana
0
54

The End.