15,688 Topics

Member Avatar for
Member Avatar for newtoajax

HI I am trying to pass a value from dropdown list on onchange event fo the dropdown in a jsp page through AJAX to servlet. The servlet then returns the value back to the jsp page and displays it in dropdown list. the problem I am facing is that the …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for teedoff

Hi, I know nothing about ajax, except that I think I need to use it to accomplish what I want. I have a cf template that performs a query and returns the results in a table display on result.cfm. I would then like for the user to be able to …

0
46
Member Avatar for gskoli

Dear all, Let me tell you the scenario , i have called javascript function on radio button selection , Ex. Suppose There are 3 Radio Button . Let us consider i have clicked on one radio button then javascript is called on that and it get 'checked' But again if …

Member Avatar for gskoli
0
666
Member Avatar for hknight

In this example, I want "ABC" to be replaced with "XYZ": [url]http://pastehtml.com/view/1avqmak.html[/url] I am posting data using AJAX and I want to use JavaScript to replace the response before the response is returned. If you test the link above you will see the issue. Here is my code: [CODE]<!DOCTYPE html …

Member Avatar for hknight
0
153
Member Avatar for agr8lemon

Hello everyone, I hoping you can help me. I've got a table that I want to be able to show/hide rows based on what check box is checked. By default, I don't want anything displayed, then if you check a or some of the check boxes you'll see the data. …

Member Avatar for parry_kulk
0
2K
Member Avatar for bjeffries

How do you get URLs like below when using php? [url]http://domain.com/photos/022010/01/[/url] Where it normally is written like this: [url]http://domain.com/photos.php?date=022010&id=01[/url] I see sites like this all the time now and am curious how this is accomplished. I do have an idea though... When creating a directory for example photos. Do I …

Member Avatar for bjeffries
0
178
Member Avatar for brown23

Hey Guys! :) I've already researched this topic across the Internet and DW - and I'm still stuck on creating a script that will allow me to edit my content when Print Screen is pressed. Now I know I can't disable print screen - I don't want to either, that …

Member Avatar for brown23
0
71
Member Avatar for EvolutionFallen

Hi, I'm somewhat new to jQuery/JavaScript, so any help would be greatly appreciated. I have a few textboxes that need to be populated when a user clicks a hot spot on an image map. Each hot spot has an alt tag representing the ID number of the object I need …

Member Avatar for MooGeek
0
160
Member Avatar for wendeus

Hi everybody, I wanna make a simple leads form in php, this form has three fields. the first field is "code", the second one is Name and third is e-mail. the issue is that i have two tables in my database and i want in one hand store all this …

Member Avatar for CyberSpatium
0
145
Member Avatar for pwgmac

Hi all, Sorry if this is a common thread. I did a search but couldn't find a solution I was looking for... You know the popup that appears if you're not logged in about joining Daniweb, I need to put together one very similar for a forum I'm working on. …

Member Avatar for george61
0
118
Member Avatar for amckenzie4

I've only just started playing with AJAX, as part of a project I'm dealing with at work. The specific piece I'm stuck on at the moment is this: I have a form with a lot of fields, two of which are subnet (a drop box populated from a database, via …

Member Avatar for amckenzie4
0
268
Member Avatar for am5a03

I'm a AJAX newbie, I was wondering if I can use the .responseText method, to load the text from other website? For example, how can I download the data from "[URL="http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049"]http://www.weather.com/weather/today/Hong+Kong+China+CHXX0049[/URL]" and display the data in my own way? It seems that the .responseText/.responseXML does not work here...:-/ thanks for …

Member Avatar for am5a03
0
102
Member Avatar for manavsm

i want to change the default value of dropdown list to 0 i.e selected index value shud become 0 when press the cancel button so that watever i selected previously is removed here is the javsacript [CODE] function CloseDiv() { var control = document.getElementById("divReqStages"); control.style.visibility = "hidden"; var control1 = …

Member Avatar for hielo
0
135
Member Avatar for khoomy

hey ppls i hv a list embeded in div . it will be filled by ajax and shown on that time under a text field just like [URL=http://www.google.com/webhp?complete=1&hl=en]Google Suggest[/URL]. All i want to do is to select its options while mouse is moving around its options. <div id="list" class="hide"> <select …

Member Avatar for tsaigopal
0
352
Member Avatar for eniine

Hello all. I have an web site that have different themes. I want to build a script in javascript that get as a parameter a color in hexadecimal format ex: #ff0000 and return some suggested color . as this example color generate must to combinate with red color. also the …

0
98
Member Avatar for techie929

Hi Everyone, I want to build a web application using JavaScript and Python for my class project.It would be really helpful if I will get some ideas. Thanks, Smita.

0
40
Member Avatar for Mapper99

I recently implemented a try catch routine to get past an error I could not fix. Unfortunately, the page loads completely in Chrome, Safari and IE, but halts in Firefox. Any idea why? Here is the URL to the page: [url]http://laudontech.com/tools/Edit4.HTML[/url]

Member Avatar for tscman
0
143
Member Avatar for subhankar02dey

I have radiobuttonlist in which there is 3 items. I have checkboxlist in which there is 5 items. I have a button. I want to unselect all the selected check boxes in the list when the button is clicked. And I want to unselect the selected radiobutton in the radiobuttonlist. …

Member Avatar for Airshow
0
326
Member Avatar for toydiaz

hi, i have this script work in FireFox, simetimes in I.E and never in Chrome, i need your help!!!Please... thanks. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> var Width=200; // height to resize large images to var …

Member Avatar for fatihpiristine
0
138
Member Avatar for shaikhanu

Loading Page in Specific Div using AHAH - http://microformats.org/wiki/rest/ahah but unable to execute script Main.html <html> <head><title>Main Page</title></head> <script type="text/javascript" src=GetPage.js> </script> <body> <form method=get onsubmit="load('History.html','GetDiv'); return false;"> <input type="text" name="quota" value=""> </form> <div id="GetDiv"> </div> </body> </html> GetPage.js function ahah(url,target) { document.getElementById(target).innerHTML = 'loading data...'; if (window.XMLHttpRequest) { req …

Member Avatar for fatihpiristine
0
229
Member Avatar for samarudge

Hey, On a site I'm developing there is a separate Javascript file loaded when users are logged in as admin, for the sake of this I'll call it admin.js. This file contains a function called adm_linkify(); which adds 'Edit This Content' links to certain elements. There is also a main …

Member Avatar for fatihpiristine
0
78
Member Avatar for WarrenN

Hi I have a JavaScript function for swapping the values of rows in a table. I have a hidden field in each row to carry a record ID. As I switch the rows the function will update the hidden field but doesn't do it correctly if I switch a number …

Member Avatar for WarrenN
0
122
Member Avatar for dennishall

Hi there: I have a couple of scripts below where I have one issue as follows: I have a photoSlider div with my images changing in it from my function called `slideIt()`. This function displays the images in the div and should allow you to click on them replacing the …

0
79
Member Avatar for jjemphoung

good day! when i click a button, this codes will be executed (tested, its working) var cart=document.getElementById('cart'); cart.innerHTML=cart.innerHTML + document.getElementById('name'+cartNum).innerHTML + "(" + qty + ")" + "<br>"; this is the style of my cart } #cart { overflow:auto; border:solid; height:500; margin-left:10px; margin-right:10px; margin-top:20px; margin-bottom:0; font-size: 12px; text-align: left; font-family: …

Member Avatar for Graphix
0
140
Member Avatar for dennishall

Hi there: The code below lays out 3 divs, the 1st. div contains a slideshow, the 2nd. div is a container for the 3rd div which contains buttons to override the slideshow and replace it with a new image in the slidshow div. All the above scenario works perfectly. Where …

Member Avatar for dennishall
0
246
Member Avatar for tefflox

I have implemented a feature that works in firefox and opera, but doesn't work in IE -- it is the css opacity setting. I am overlaying translucent divs over a jpg image. Do I need to use javascript to fix this for IE ? [URL]http://listenlight.net/05[/URL] is the page I'm working …

Member Avatar for sahinci
0
357
Member Avatar for swornavidhya_m

Hai I am trying scrolling of images as like ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I do want to set border for the images with border property as "2px solid #000" and i do want gap between the images so that the horizontal gap value is 20px. I tried even with image border propoerty and …

Member Avatar for hielo
0
1K
Member Avatar for MDanz

how do i limit this textfield to three words? [code]<input type='text' size='40' name='search' style='font-size:16px; font-family:Arial;font-weight:bold;' />[/code] i only want three words to be allowed entered.

Member Avatar for MeSampath
0
74
Member Avatar for swornavidhya_m

I want to provide sitemap with scrolling of images. I'm handling the method for scrolling image as in "Text and Image Crawler" of Dynamicdrive.com ([url]http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm[/url]). I've just changed the images and added a click event for images. The crawler.js is the same as in the "Text and Image Crawler" of …

0
87
Member Avatar for poison_bubbles

Hi im zee and i'm new to javascript.. The javascript function below..examines if a string value contains only numbers.. My problem is..I can't figure out why it doesn't continue with the 2nd loop and iterate j..please help.! [CODE]<script language="javascript"> <!-- value = "23e"; isNumber(value); function isNumber(value){ document.write('I'm inside the function …

Member Avatar for james chaco
0
113

The End.