8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for dhani09

I''m trying to process a form without page reload using jQuery post as shown below: <script type="text/javascript"> $('#settingsForm').submit( function(){ $('input[type=submit]', this).attr('disabled', 'disabled ');}); function scheck(){ var oldanswer = $("#oldanswer"); var newquestion = $("#newquestion"); var newanswer = $("#newanswer"); var url = "settingsupdate.php"; //This part of the code works fine. Errors are …

Member Avatar for dhani09
0
270
Member Avatar for dhani09

I have an HTML dropdown list which i'm populating from a database. My question is how can i retrieve the value of a selected item from this dropdown list using AJAX? Thanks in advance.

Member Avatar for dnyaneshk2
0
6K
Member Avatar for oomotayo

Here is what i want to do, check the image attached, javascript to sum the values of text boxes in a row having individual total, i have this but not working function sum() { var txtFirstNumberValue = document.getElementsByName('ca_score[]').value; var txtSecondNumberValue = document.getElementsByName('score[]').value; if (txtFirstNumberValue == "") txtFirstNumberValue = 0; if …

Member Avatar for JorgeM
0
2K
Member Avatar for murtazamzk

[CODE]<html> <script> function startEQ() { quake=5; parent.moveBy(0,quake); parent.moveBy(0,-quake); parent.moveBy(quake,0); parent.moveBy(-quake,0); timer=setTimeout("startEQ()",10); } function stopEQ() { clearTimeout(timer); } </script> </head> <body> DEMO IT HERE <form> <input type="button" onclick="startEQ()" value="Start an earthquake"> <input type="button" onclick="stopEQ()" value="Stop the earthquake"> </form> </body> </html>[/CODE]

Member Avatar for murtazamzk
0
278
Member Avatar for sha1023012

I am not understanding this at all. I have to have 3 fish swim across the screen in different direction. But I can only get the one fish to swim. I have been looking ont he web and can not find anything that helps me. If someone can help me …

Member Avatar for aquariums
0
217
Member Avatar for dr_copper

Hi, I try to create a menu for the website of my friend. But I have a probleme with the reaction of event. My submenu close when i quit the section div. Someone can help me please? my code: [CODE] <html> <head> <title>test menu</title> <script language="javascript"> function ouvrir_menu(cible){ liens_cible="liens"+cible; document.getElementById(liens_cible).style.visibility="visible"; …

Member Avatar for dr_copper
0
210
Member Avatar for raheel_88

Hi guys, I've got the following, very basic, working DHTML; [CODE] <HTML> <HEAD> <SCRIPT TYPE="TEXT/JAVASCRIPT"> function setup(ans) { lit = '' if (ans == 'anim') { lit = '<br><br>How many legs? ' lit = lit + '<SELECT NAME="q2" ONCHANGE="alert(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- Please select -</OPTION>' lit = …

Member Avatar for raheel_88
0
269
Member Avatar for Clanstrom

Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the …

Member Avatar for Clanstrom
0
218

The End.