15,121 Topics

Member Avatar for
Member Avatar for 87vikas

Hello, I have a problem regarding how to implement dynamic dropdown in which values for 1st dropdown will come from MySql database and the values of second dropdown will come from the MySql database on the basis of selected first dropdown value. I dont know Ajax. I need code for …

Member Avatar for geo007
0
88
Member Avatar for jonsan32

I'm trying to get a flash banner to work on my website (on blogspot). I have another flash banner with a swf file going, but I can't install another that is created by a program called Anim-FX. They've given me an html file, a swf template, and a text file. …

0
74
Member Avatar for mroberts50

When I hit the button in my program the button does not work. How do I get the message to point to this url "http://mweisfeld.1upware.com/joke.txt" when I hit the button? Thanks [CODE]<html> <head> <title>Ajax Joke of the Day Application</title> <script language = "javascript" type = "text/javascript"> var Request = false; …

Member Avatar for mroberts50
0
136
Member Avatar for jonsan32

I'm trying to search for the correct code to make my form work. I have 3 select boxes - one with 2 options, one with 8 options, and the last with 2 options... All of this adds up to 32 different url paths. Can anyone tell me how to get …

Member Avatar for jonsan32
0
152
Member Avatar for akshayinbox

Hello. I don't know any code of Javascript. I programme in PHP. I grabbed this piece of code for javascript timer: [CODE] <form name="counter"><input name="d2" type="text" size="8" style="font-size:72pt; border:none; font-family:Verdana; color:#00BFFF; text-outline: 1px 1px #009ACD;"></form> <script> <!-- // var milisec=0 var seconds=<?php echo $s;?> document.counter.d2.value='0' function display(){ if (milisec<=0){ milisec=9 …

Member Avatar for akshayinbox
0
223
Member Avatar for liyakat

Hi, I have a javascript which updates price and unit from mysql database. The option onchange event calls 2 javascript functions each one for price and unit. The code works fine in IE, but does not work correctly in firefox. Below is the code, can anyone suggest! [CODE] <html> <head> …

Member Avatar for Graphix
0
137
Member Avatar for JBLDW

Can anyone help with the error shown below? - I have looked at the code of the script and realise that it is being generated by there being no valid id. So... I changed the details to provide a valid id (did not work), then matched all the details up …

Member Avatar for hielo
0
288
Member Avatar for Tcll

I'd like to know how to write a downloads counter that changes a var in an external .js file?? the var is named after the id of the textbox that displays the number held within that var... eg: external file:[CODE]var txtbx = 0[/CODE] html:[CODE] <script type="text/javascript"> count() //writes the increased …

Member Avatar for Tcll
0
800
Member Avatar for himmat.m4

Plz tell me, how to remove particular value from input text in jsp by using javascript. [CODE] <script> function findSeat() { alert("hi") document.getElementById("sam").value.removeChild(SEW1); alert("remove") } </script> <input type="text" name="txtSam" value="SEW1" id="sam"/> <input type="button" value="Click Me" onclick="findSeat()"/> [/CODE] By Himmat

Member Avatar for peter_budo
0
59
Member Avatar for Katana24

Hi, I would like to learn java-scripting. I have a Mac, version 10.6.4 and I know that I can use the built in "AppleScript Editor" application for it. But I can't get the option to change the language to "Javascript" even after moving the "JavaScript.component" to the "Components" folder in …

Member Avatar for Katana24
0
116
Member Avatar for brown23

Hey Guys, I'm really stuck on how I can have the visitor change the style of the content on my webpage. I've looked into stylesheet switcher, but that changes a whole stylesheet, when really all I want users to be able to change is their preferred background color, alignment, font …

Member Avatar for george61
0
114
Member Avatar for kavya_nayak7

Hii, I need help regarding information on how to pass information between two pages using javascript.In my web page,I type in the information and when i submit the information then the registration successfully happens and page gets redirected to a different web page where i need to display some of …

0
55
Member Avatar for iketunde

I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database. I don't want a case where the user accidentally clicks on the link takes the wrong …

Member Avatar for mohammed yaghi
0
2K
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
665
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
177
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 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
144
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
250
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
132
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
345
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
140
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
324

The End.