15,127 Topics

Member Avatar for
Member Avatar for r1990

here is the code i am using, [code=html]<html> <head> <script type="text/javascript"> function University() { var mylist=document.getElementById("myList"); document.getElementById("favorite").value=mylist.options[mylist.selectedIndex].text; } </script> </head> <body> <form> Select your University: <select id="myList" onchange="University()"> <option>Brunel</option> <option>Kingston</option> <option>Kent</option> </select> <div id="Layer1" style="position:absolute; left:368px; top:175px; width:257px; height:100px; z-index:1">Your University: <input type="text" id="favorite" size="20"></div> </form> </body>[/code] i want the …

Member Avatar for Thirusha
0
67
Member Avatar for smvec

hi.. im trying to validate a registeration form using javascript.. i successfully validated all the textbox individually by using onblur event... but when i click submit button, without entering text, or without even touching the textbox, the Form gets Submitted.. hw can i stop this... plz tell me a solution...

Member Avatar for smvec
0
100
Member Avatar for mvchandoo

Hi, The form consists captcha and it is validating well. After validation the form is not submitting. do any one help me. as it was a urgent task.thank you in advance. [code=html]<form name="contact_us" id="contact_us" method="post" action="feedform_mail.php" onSubmit="check(); return false;" enctype="multipart/form-data"> <input TYPE="hidden" NAME="recipient" VALUE="formmail@bodyrotic.com.au"> <input type="hidden" name="missing_fields_redirect" value="http://www.bodyrotic.com.au/pages/feedback/feederror.htm"> <input TYPE="hidden" …

0
54
Member Avatar for MDanz

i'm trying to do onclick row(result 1) swap with onclick row(result 2) in mysql.. here's what i have so far [code=php]<div class=\"rollover\"><a onclick=\"Swap($number)\"></a></div> <script type='text/javascript'> function Swap(number){ } </script>[/code] the variable $number determines the row.. How do i switch two rows in with javascript? I'm thinking after clicking twice... they …

0
48
Member Avatar for vkennedy

Ok, this question probably has been asked quite a number of times, but I am fairly new to this technology and am not sure of what I should search for. So, if someone could either point me to a link where it has already been answered or provide the answer …

Member Avatar for vkennedy
0
115
Member Avatar for feoperro

Hi, I'm starting to learn Ajax after playing around with JSP and Javascript, I felt the need for interaction without reloading the page. I've searched everywhere for a simple java servlet/ajax example that I can play around with but just found a lot of asp and complex java examples. Could …

Member Avatar for feoperro
0
172
Member Avatar for chicago1985

I am trying to create a page where it will look the same if the screen is resolution 1024 x 768 or if the screen is resolution 800 x 600. The below finds the resolution but the page looks different depending on the resolution. Please advise how I can make …

Member Avatar for ITGuys!
0
218
Member Avatar for loudstil

Hi to all I would like to create a dynamic button which adding new rows to my table and then sending it to PHP, I manage to create the JS function but after the rows have been added its not apearing the HTML code and by that I can't send …

Member Avatar for Airshow
0
91
Member Avatar for stbtwitter

I have this code which basically if you uncheck the parent checkbox and if any of the other checkboxes are checked, they will also uncheck. [CODE]<script type="text/javascript"> function c_uncheck() { var field1 = document.myform.lista; var field2 = document.myform.listb; var field3 = document.myform.listc; var field4 = document.myform.listd; for (a = 0; …

Member Avatar for Thirusha
0
66
Member Avatar for practice

Hi, I want a script that would automatically load the content of my web page for preview when the user hovers on the link; and hence load and display it fully when he/she clicks it. I need something similar to the news component of [url]www.yahoo.com[/url] home page. Can anyone give …

Member Avatar for chandru7
0
122
Member Avatar for Originative

Hi, i making an webapp for my uni project that send an POST request using AJAX to the server and server returns an wav file in return... i want to know how do i get the [B]name[/B] of the returned file (using javascript) and also when the file is returned …

Member Avatar for digital-ether
0
75
Member Avatar for bufospro

Hi all, I am new in web programming and I am trying to create submenus. But unfortunately I have much problems. 1. First of all when I use onmouseover on my links the submenu appears. But I am trying to click on economy and the submenu is changing ... 2. …

Member Avatar for bufospro
0
42
Member Avatar for Altairzq

Hello, I would need to upload two files from two different iframes, but they have to be treated at the same time by the same server script, so I'd need to send them with a unique submit. Is this possible? For what I have seen, the submit targets a single …

Member Avatar for Altairzq
0
74
Member Avatar for SID.SIL

Good Morning Friends I'm using a modal popup using Javascript that this opening normally through the following syntax: [code]jscript + = "<script language='javascript'>" jscript + = "window.showModalDialog ( 'DOCUMENTOS2.aspx','',' resizable = yes, menubar = no, scrollbars = no, width = 1850, height = 1650 ') "jscript + =" </ script> …

Member Avatar for Kusno
0
303
Member Avatar for Tekkno

I am using AHAH to echo HTML lists to a div with PHP. The AHAH portion is working perfectly. The problem, is that even though the HTML is echoed and displayed, when I view the source of the page there is no HTML there. Typically with just PHP you would …

Member Avatar for Tekkno
0
90
Member Avatar for Pleasant Day

I'm not experienced in java and so I find scripts that people post and alter them to my needs, I have a bunch of scripts that I got from the net, I want to have all on one page, problem is that I cant get them to all run at …

Member Avatar for Pleasant Day
0
153
Member Avatar for CS_Swan

please do not delete this post even though there is a link.. I have been asked to take a look at this site and evaluate whether any programmer could duplicate it .. so I am asking you all to let me know if you could duplicate the magnify functionality of …

Member Avatar for Troy III
0
89
Member Avatar for r1990

i created a dropdown list containing university names e.g. 'oxford' 'cambridge' and so on. I would like the uni selected from the dropdown list to be sent to another page as the heading. I am having trouble doing this myself and I dont want to create a page for every …

Member Avatar for javaAddict
0
145
Member Avatar for azegurb

hi all i have two columns table and this table is dynamic when clicked add button it automatically adds rows i would like to sum values separetly for ex: when i clicked sum-column1 button let it sums only column1 or when i clicked sum-column2 button let it sums only column2 …

Member Avatar for azegurb
0
113
Member Avatar for puk

I have a text box in a form that is validated to accept a value called ds01 but i also want the textbox to be allowed to accept empty spaces that is if nothing is entered in the textbox. The problem is that it does not accept anything other than …

Member Avatar for Troy III
-1
113
Member Avatar for akulkarni

i am trying to help a friend on a program on client side scripting using javascript. i have the following code but i am not getting the output desired. [code] <html> <head> <Script language="JavaScript"> var usernameVal; if(document.f1.usernameVal.value.length<3) { alert("username is invalid") return false; } else { alert("acceptable") } </script> </head> …

Member Avatar for Troy III
0
122
Member Avatar for mseck

Hello :confused: I just started a programming class and stuck in a section of my assigment. i would like to know if someone could guide me to the right direction. Last instruction: " Write a script that reads an integer and determines and output XHTML text that displays whether it …

Member Avatar for almostbob
0
98
Member Avatar for azegurb

hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row value (text value) here is the code if possible please help me Thanks beforehand [code=html]<html xmlns="http://www.w3.org/1999/xhtml" …

Member Avatar for azegurb
0
4K
Member Avatar for bryanhiehle

make a window pop up with a different web site, while the splash page redirects to the normal page so basicly i am trying to make it go from 1.Splash page and make it go to 1a.Main Page 2a.Forums i am trying to help my buddy out with his gaming …

Member Avatar for almostbob
0
71
Member Avatar for manojjena1982

Hi! all, I want difference between two date which results into HH:MM:SS. date format: MM/DD/YYYY HH:MM:SS suppose there are two date 09/14/2009 13:00:00, 09/18/2009 13:00:00 the difference between the above will return not 4 days rather difference in 96:00:00 . thanks in advance Regards, Manoj

Member Avatar for smvec
0
71
Member Avatar for feroz_sm

Can any body show me how to scroll image on to a perticular location in document,when i click on the button which is provided right or left to the image.. In the below image when i click on button another image should come in the place of that image by …

0
45
Member Avatar for itisnot_me

ok so i looked a little and came up with a bunch or crap. so was wondering how i might beable to make a special area where people can start with a blank canvas and then import a picture already on the server to the canvas. then rotate, position it, …

0
59
Member Avatar for cmills83

Hi I have a few javascript calls that hide/show divs over a flash movie and even a css/jquery drop down nav that overlaps over the flash movie. IE6, IE7, IE8, FF2 pc, FF3 pc, and even FF mac are fine, however with Safari the cursor remains an arrow even when …

Member Avatar for Airshow
0
127
Member Avatar for j_limboo

Hi need help the search information has to be in Snippet in the UI when clicked the whole table has to come up, untill then what user experience is snippet Any javascript codefor this? [CODE] </table> <p>&nbsp;</p> <table bgcolor="#CB344F" cellpadding="0" cellspacing="0" align="left"> <tr> <td align="left"> <p>Search Information</p><br/> <form action="pst.php" method="GET"> …

Member Avatar for j_limboo
0
86
Member Avatar for j_limboo

New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript …

Member Avatar for j_limboo
0
122

The End.