15,121 Topics
| |
Hey friends, I have a drop down box. onChange of that drop down box the option selected is $_POSTed to a php page where I'm grabbing that name and using it in a form on the new page. Instead of it opening a new window for the php page, I'd … | |
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 … | |
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 … | |
Hi friends please refer me a tutorial for Dynamically loading Drop down list ( List/Menu ) Using Ajax Thanks in advance Rajeesh | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
[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! | |
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 … | |
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 … | |
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): … | |
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); } … | |
<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 { … | |
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 … | |
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 !! | |
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 … | |
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 … | |
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 … | |
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 | |
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 … |
The End.