15,120 Topics

Member Avatar for
Member Avatar for shadyabhi

We have to login to a http page so that I can surf the net. But, that login page also requires me to keep that page open which is very irritating. The page have javascript that checks if the page is loaded every 180 seconds, it its not loaded, I …

Member Avatar for Agarsia
0
308
Member Avatar for barizon

Hello everybody! I need to get the values of two hidden fields and values that make a query in my database and return this column to a text field in the same form, I have already informed the forum here that can do that with Ajax, researched and made an …

Member Avatar for UzuNarU
0
93
Member Avatar for rajeesh_rsn

Hi friends please refer me a tutorial for Dynamically loading Drop down list ( List/Menu ) Using Ajax Thanks in advance Rajeesh

Member Avatar for sudeepjd
0
83
Member Avatar for deepakkrish

Hi Friends, Any one used OTRS software.I am trying to update the requirements.I am unabl eto connect wit the database. The thing is if i logged in with user name n pass .the user name and the sys time should it the database. i tried some facts but dont know …

Member Avatar for deepakkrish
0
98
Member Avatar for raq_0619

How could I include the image in the print preview? I cant make it work :sad: anyone? please help. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> // _importNode() needed for IE if (!document.importNode) …

Member Avatar for vsmash
0
160
Member Avatar for chris.aaker

I need to take data in from a form, using a javascript call. From there I need to send the data to a php script that puts it in a database. I have an AJAX call that does this...but I know that the AJAX call also waits for a response …

Member Avatar for chris.aaker
0
242
Member Avatar for james6754

Hi everyone...not usually in this part of DaniWeb... My friend is having massive problems with his internet explorer.. it keeps giving errors about .js (javascript?) Along with this you try to go on a site and it attemps to download a .cr file. Sometimes it loads just plain text, sometimes …

Member Avatar for vsmash
0
88
Member Avatar for jbennet

How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the …

Member Avatar for jimforsyth
0
336
Member Avatar for jwiere03

I am working on a little project here. I have two arrays (States, Cities) I am trying to allow the user to chose one from a select form (Choice) and then have the values of the chosen array displayed in a alert(). Obviously I could just write an if statement …

Member Avatar for jwiere03
0
169
Member Avatar for EvolutionFallen

Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with …

Member Avatar for severman
0
717
Member Avatar for elangobala

Hello sir, I m need of help regarding form validation using ajax.I need a sample code.It should be like when i have two text fields without entering the first one when i keep the mouse in to the second text box it should say in the red mark as in …

Member Avatar for MrRundog
0
249
Member Avatar for newbieJS

I'm working on an exercise using array methods, unshift() and shift() among them. In the script below I'm attempting to log an ID from the user, such as "B123" and log their corresponding bid such as "1250." I want to list each bid and id in order from greatest to …

Member Avatar for vsmash
0
187
Member Avatar for arigasa

I try to receive XML sample from w3schools.com ([url]http://www.w3schools.com/XML/cd_catalog.xml[/url]) but get nothing (xmlhttp.status=0). My local web server is Apache on VMWare (host OS Win7, Guest OS Ubuntu, Network adapter - NAT). Here is the code: [CODE]xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","http://www.w3schools.com/XML/cd_catalog.xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It …

0
41
Member Avatar for dhairyaguptha

I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database. the process is working overall. But when …

Member Avatar for dhairyaguptha
0
13K
Member Avatar for babylonlion

Hi folks, I have two divs in my form that contain slightly different fields. The user can view one vid at a time depending on the radio button it's checked (either business or individual). When I submit the form, all the fields in both divs are submitted and emailed at …

Member Avatar for sudeepjd
0
171
Member Avatar for Dargeena

[COLOR="Green"]Hello, I am working on a website and I am new to it. I would appreciate some help. I am working with the Web Building Software that comes with cpanel, called RV Site Builder. I send RV Site Buider a Ticket and they are not getting back to me. I …

0
62
Member Avatar for dhairyaguptha

[CODE]xmlhttp.open("GET","tablebase.php?q="+str,true);[/CODE] I can get value to the [COLOR="Green"]$q[/COLOR] variable in tablebase.php by above method. But how i can get a value to [COLOR="Green"]$q2[/COLOR] by using the above method. Thank you!

Member Avatar for dhairyaguptha
0
84
Member Avatar for cliffcrosland

We are a group of Stanford students hoping to build a tool that measures third-party plug-in performance. A mocked-up prototype of the tool can be found at [url]http://www.stanford.edu/~cliftonc/cgi-bin/[/url] It's becoming more and more popular for publishers of prominent sites, such as Mashable and many media sites, to include third party …

Member Avatar for Roy Murphy
2
150
Member Avatar for petrakid

I have two text boxes and I want them both to submit the same data, such as if the user changes one text box, the other changes to the same value [U]and vise versa[/U]. I am easily able to make one textbox update the second with javascript, but not the …

Member Avatar for petrakid
0
488
Member Avatar for ricvik

Hello, As this forum has been so helpful before, this time it's a JS question: I have a list of checkboxes from which the user can select 1 or more to check and perform an action upon. Thus, all checkboxes have the same "name" (in ASP code, since it's DB-related): …

Member Avatar for ricvik
0
159
Member Avatar for ankurmawanda

i have a html form and with a few fields i want to md5 my password field before posting it here is my code [code=java] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Employee Payroll System NIC-APSC</title> <link rel="shortcut icon" href="images/favicon.ico"> <script language="javascript" type="text/javascript" src="md5.js"> function crypt() { document.form1.password.value = calcMD5(document.form1.password.value); } …

Member Avatar for Airshow
0
754
Member Avatar for dhairyaguptha

<html> <body> <div align="center"> <form name="imageTest"> <input type="file" name="myImage" size="30"/> <input type="button" value="Preview!" onClick="previewImage(document.imageTest.myImage,'replaceMe')"/><br> <img src="MyImg.jpg" name="replaceMe" id="replaceMe"/> </form> </div> </body> </html> <script language="javascript"> var imgRe = /^.+\.(jpg|jpeg|gif|png)$/i; function previewImage(pathField, previewName) { var path = pathField.value; if (path.search(imgRe) != -1) { //document[previewName].src = document.imageTest.myImage.value; document.getElementById("replaceMe").src = document.imageTest.myImage.value; } else { …

Member Avatar for Agarsia
0
168
Member Avatar for sonu33

I have a text box which accepts time(max of 5 characters only), and a drop down which accepts am or pm value. I need to perform some validations for the string values entered into the text box such as: 1) If user enters 9 => Should be changed to 0900 …

-1
91
Member Avatar for erum

i m getting an error related to ajax see an image .although file is running on local but not on server any urgent reply is hghly appreciated !!

Member Avatar for erum
0
65
Member Avatar for LizAE

Hi! Just a quick question: I am using "Website Tonight" to redo a site for my boss. He wants a "floating TOC" on one page. So, when you scroll down the ridiculously long page, the categories on the righthand side move with you. (I wouldn't mind that, but I'd prefer …

Member Avatar for LizAE
0
186
Member Avatar for jmcgranahan

I have searched and search for a simple solution to my problem but alas, I have had no luck, so I am turning to this forum for assistance. If you are familiar with Google Gadgets and AJAX, then this question is for you. I am trying to create a Google …

0
193
Member Avatar for puvi

hiii ppl of the forum.. I have this date field in the form, i managed to get the calender script work, when i select the date, it appears properly in the text field, but on cliking submit, it gets stored as 0000-00-00 in the database. any idea frens what is …

Member Avatar for puvi
0
92
Member Avatar for styleest

Hi all, Please i need a javascript that displays a calender with only date without time so that the user chooses the date. Thanks in anticipation

Member Avatar for styleest
0
62
Member Avatar for benjaminFowl87

The easy slider found here. [url]http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider[/url] I have it set to slide automatically and continuously however when you click previous or next and leave it, the scrolling will stop. Has anyone implemented something to make it so that the sliding continues or know of a way to do it. Any …

Member Avatar for benjaminFowl87
0
343
Member Avatar for ricvik

Hi, I have implemented an Ajax object - a div containing another ASP file which can be updated dynamically. This ASP page has a number of checkboxes. Is it possible to use JS (or any other tool) to check the checkbox status (i.e. like javascript's [CODE]if (field.checked)[/CODE]) from the containing …

Member Avatar for ricvik
0
191

The End.