22 Topics

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
269
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
160
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 Olagoke

Guys please, i really need your help real urgently. I've search the web times without number but couldnt get anything tangible. I have a php loop like this . 'While($row=mysql_fetch_array($dbquery)){$username=$row['username']; print("<input type='submit' value='$username'>");}' now i have a jquery code to select each value contained in the hidden input 'var x=$("input").attr('value');' …

Member Avatar for pixelsoul
0
208
Member Avatar for semere mehari
Member Avatar for rotten69
0
70
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
276
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 Pankti Desai

I am looking for a way to achieve the layout shown below using CSS or any other method that can accommodate the design and implementation. The "top" portion is a fixed area. The "left" area will be a list of text links that target to the "main" area.To be more …

Member Avatar for Philippe.Lahaie
0
106
Member Avatar for rakibtg

how to show a javascript warning message for some specific words from a textfield. if a user write [B][COLOR="Red"]http://[/COLOR][/B] and [B][COLOR="Red"]/[/COLOR][/B] in a textfield and click on the Submit button of my form then a javascript will show a error message to the user and submission will stop. How to …

0
87
Member Avatar for raheel_88

I would like to place a footer at the bottom of my DHTML web page. The simple footer tag doesn't do what I want because the text in the footer is simply placed underneath the current text on the web page. What I want s for the footer to stay …

0
108
Member Avatar for raheel_88

Hey all, I have the following HTML, adapted from a more complicated one I'm creating; [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="print(document.quest.q2.value)">' lit = lit + '<OPTION VALUE="">- …

Member Avatar for raheel_88
0
173
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
267
Member Avatar for chiiqui
Member Avatar for AleMonteiro
0
112
Member Avatar for lmddigital

I'd like to modify a form on [url]www.formsite.com[/url] (form builder app): username: testuser password: password I would like to use the nicedit.com's inline content editor's js to transform my textarea's into a richtext area. At present the nicedit editor works well in creating the richtextarea. However, the KEY point is …

0
96
Member Avatar for umeshMCA

hi i would like to know that how to create dropdown menu in mysite. anyone help me? thanks umesh daiya

Member Avatar for stbuchok
-1
88
Member Avatar for gambit_1607

hi on my blog page, i'm trying to manually add in group check boxes under groups. initially there is a list of group checkboxes from user's "my groups" to choose from, but i want to add more groups that don't exist in "my groups". drupal code for the form looks …

0
83
Member Avatar for sha1023012

Ok i have been working on this for a few days. I am having a hard time on this one. I am still new to the javascript/DHTML. I am suppose to use the fish images to create a fish tank on a Web page.The fish should swim across the screen …

Member Avatar for twiss
0
121
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
Member Avatar for hamburger_lover

Hy! A friend of mine recently told me that, now, in 2011, [I]Ajax [/I]is a [B]pure [/B]synonym of [I]DHTML[/I], and that DHTML is an old world that we should not use anymore. He told me that it is called "Ajax" as long as you use standard technologies (XHTML, JavaScript, XML, …

Member Avatar for ivatanako
0
109
Member Avatar for livermore

Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web …

Member Avatar for Airshow
0
113

The End.