15,127 Topics

Member Avatar for
Member Avatar for mrcpp

Hi, a few time ago I posted a thread about a page in ajax/js/html that didn't work correctly. At first, I thought it was solved, but now I see it is not. I am trying to make a gallery using jCarousel, and it used to be very buggy until it …

Member Avatar for mrcpp
0
121
Member Avatar for sun-tzu

Ok, so I am building a website, and am trying to use jquery to get video thumbnails from YouTube and pass them into the corresponding images. I am still fairly new at jQuery and could use some help with the code. Here it is: [CODE] $(function() { $(document).ready(function() { var …

Member Avatar for vsmash
0
138
Member Avatar for fawadkhalil

Hi people I am calling JavaScript function on partial post-back. Its working fine when i run my site locally but it did not work after i implement it on live program. I used following line of code to call function: ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "privateseller();", True) Here is JavaScript function where …

0
52
Member Avatar for puvi

Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user …

Member Avatar for six_sic6
0
4K
Member Avatar for sunita2006

Hello Team, I want to load a dll functions into script javascript for digital signature verification. I have tried this using CAPICOM dll and it woks well. I have a custom DLL which has got the functions which can be used for digital signature creation/verification. To Load the functions from …

Member Avatar for arunp_eagle
0
516
Member Avatar for slrobinson1983

hello all. i've bee learning php for the last couple of weeks while designing a site but i am now frequently running into situations where i need to use javascript. i have a page where i want a user to browse for a pic with a file field and i …

Member Avatar for slrobinson1983
0
294
Member Avatar for devinodaniel

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 …

Member Avatar for Agarsia
0
161
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
309
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
94
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
161
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
89
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
338
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
170
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
719
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
151
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
489
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
757
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

The End.