15,121 Topics

Member Avatar for
Member Avatar for kahaj

How do I use a submit function to ensure that a name field only has letters, zip code field only has numbers, etc. w/ Javascript when submitting a form?

Member Avatar for TnWbDzgnr1996
0
155
Member Avatar for veledrom

Hi, Button below opens new popup window but doesn't send POST data from form. How can i send POST data? I know "form action" but, i want this way. Thanks [code] <input type="submit" name="buttonUnit" value="Add" onClick="window.open('add.php','Done','width=400, height=130')"> [/code]

Member Avatar for sasankasekhar
0
318
Member Avatar for yasmena

i wonder how can write a JS variable inside HTML here's the Line: var texture=document.getElementById('texture').value; formdiv.innerHTML = formdiv.innerHTML +'<td align=center> JS VARIABLE TEXTURE</td>'; any help is appreciated

Member Avatar for sasankasekhar
0
80
Member Avatar for dinilkarun

Can somebody help me with the code on how to capture the line number at the current cursor position?.

0
37
Member Avatar for pazany

Hi , I am having a very strange issue with a piece of DHML on I.E 6, attached code. Here is the scenario. There are two html files, run 1.htm. The Drop down has a default value, if you click on populate button, a JavaScript will re populate the drop …

0
65
Member Avatar for yasmena

i have a form which contains a combo box and a table ...i need when the user selects an option the page be reloaded but with the table contains the new data for the option he choosed from the combo box can anyone help

0
75
Member Avatar for palomma612

[code=javascript] <SCRIPT language=JAVASCRIPT type=text/javascript> <!-- /*Callout: Here the image objects are stored in an array.*/ var mySlides = new Array(); mySlides[1] = new Image(); mySlides[2] = new Image(); mySlides[3] = new Image(); mySlides[4] = new Image(); mySlides[5] = new Image(); mySlides[6] = new Image(); mySlides[7] = new Image(); mySlides[8] = …

Member Avatar for peter_budo
0
130
Member Avatar for ezkils

For example, I want to upload 10 files to a website. However, that site will only allow me to upload 1 file at a time. I want to write a script that will help me upload those 10 files one after the other on its own. How many ways can …

0
62
Member Avatar for RheaChanex47
Member Avatar for trashed

Hi all. I am currently developing a CMS for a school project and I wanted to add the function to check, real-time, if a username is already taken. It should be a little bit like what happens when you register for a Gmail or Yahoo! account. Basically, while the user …

Member Avatar for Will Gresham
0
370
Member Avatar for LAPIII
Member Avatar for dbguide

:) Hi guys! I need a little umm assurance that I am not going crazy. Some advice or opinions would be great and appreciated! I was making an easy to use webpage >> [url]www.greenbolnyc.com/pearl4/commonshapes.htm[/url] Basically its a gallery that uses disjoint images. The javascript that controls the clickable functions can …

Member Avatar for sillyboy
0
152
Member Avatar for remote control

Hi Guys, I am having heaps of trouble with a javascript onmouseover, can someone have a look and see if I am missing anything, I have exactly the same code running on another page and its making me crazy. Not working page [url]http://www.lostandlonesome.com.au/shopNew.php[/url] Working page [url]http://www.lostandlonesome.com.au/bandsNew.php[/url] Thanks

Member Avatar for sillyboy
0
105
Member Avatar for Biggoga
Member Avatar for stevehart808

Hi guys, I have a media player that opens its own window and works fine with Firefox but it's not working for internet explorer. Been trying for ages and lots of different suppose solutions but still no go. The only thing that happens when you click the link is, bottom …

Member Avatar for stevehart808
0
103
Member Avatar for jobojo

I am trying to write a simple program to calculate income taxes owed based on gross wages that are input by a user. The HTML page needs to accept the input (wages from 4 users) at once and then utilize a button to submit the information to an external javascript …

Member Avatar for jobojo
0
303
Member Avatar for smilyswapna10

hi, i want to disable the parent window when i opened the child window using javascript and html. i have written code like this.but its working only one time.any one knows pls help me in this situation. s.html <html> <head> <SCRIPT > function popuponclick() { my_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); …

Member Avatar for demudubabu
-1
5K
Member Avatar for praveen_dusari

hi all, i have a script using php where i can add a frame selected by user to an image where user uploades, my problem is how can i add text to that image and the text should actually should be movable all over image thank u in advance

0
64
Member Avatar for yasmena

PLZ I NEED HELP WITH THAT: <option value="1" >option1</option> how can i color this option or highlight it the MAIN problem is i have a drop down menu for parents and their child categories so i need to highlight the parents :(

Member Avatar for yasmena
0
73
Member Avatar for poojapo

Is it possible to execute Perl code from java script? I have installed apache-tomcat for the same. In which folder should I paste the html file and the Perl file (uses cgi module) ?

Member Avatar for KevinADC
0
76
Member Avatar for hmundy

I have a browser incompatibility issue when using appendChild() to add form elements "on the fly." Works great in Firefox but not in IE. I'm adding table rows that contain <input type='text'> elements. I know that the rows are being added to the table because the count of table rows …

0
67
Member Avatar for rathor0407

Hi, I am new to Javascript. I am designing one page in which i want to fill the 2 form fields through the pop up window. In the parent window i have 2 input fields Name _________ Search Roll No _________ What I want is when ever user click on …

Member Avatar for coolest102
-1
116
Member Avatar for oneadvent

I am trying to use an Ajax request with a port, when I have it say: [code=javascript] var url = "oneadvent.viewnetcam.com/CgiImageTransfer"; alert('Hello1') xmlhttp.open("POST", url, false); alert('Hello2')[/code] I get to Hello 2, however when it is [code=javascript] var url = "oneadvent.viewnetcam.com:50001/CgiImageTransfer"; alert('Hello1') xmlhttp.open("POST", url, false); alert('Hello2')[/code] I dont get even the …

0
46
Member Avatar for yasmena

i need to add an option from list1 to list2 when the user clicks on ADD to List button but sth is wrong with my code it's not working function AddItem() { var opt = document.getElementById("List1").selectedIndex; document.getElementById("List2").options.add(opt); } can anyone tell me whats wrong ??!!!!!!

0
75
Member Avatar for udaydesai

:) [B]hello friends[/B], [COLOR="Red"]plz help me regarding text editor[/COLOR]. text editor using javascript and edited text should inserted to mysql database using php. is it be possible to do. iam using many text area field in one form so how can i edit text in like text bold, edit font …

Member Avatar for Shanti C
0
143
Member Avatar for tribedude

I am trying to design a front page of a site that will include one image randomly drawn from a directory on my server. This part I can do. What i need help with is that I want a script to take two of the metatags from the image and …

Member Avatar for scru
0
85
Member Avatar for justinmyoung

I'm trying to implement a Prototype scoller.js script within my site, and functionally and aesthetically its working fairly well. However there are two problems that I need someone who knows what they're doing to help me with. My site you can see the problem: [URL="http://www.thecassidyfeed.com/index2.html"]http://www.thecassidyfeed.com/index2.html[/URL] #1. When initially visiting the …

Member Avatar for justinmyoung
0
120
Member Avatar for cadillacwd

I grabbed this script from dynamicdrive "vertical menu flyout" it works fine in IE but not Mozzilla. It doesn't seem to calulate the x,y position correctly to place the dropmenudiv. It returns the same position from the getposOffset function no matter what menu you are hovering over. For example 192, …

Member Avatar for cadillacwd
0
132
Member Avatar for kaushik259106

Hi Everyone, Can some one tell me is this possible. I want to show a text hiperlink over an image. [URL=http://img371.imageshack.us/my.php?image=texthiperlinkjv3.png][IMG]http://img371.imageshack.us/img371/5936/texthiperlinkjv3.th.png[/IMG][/URL][URL=http://g.imageshack.us/thpix.php][IMG]http://img371.imageshack.us/images/thpix.gif[/IMG][/URL] The image it self wont be hyperlink but only the text over it. Check this attached image. Need some thing like this.. Thanks,

Member Avatar for essential
0
117
Member Avatar for komrad

Hello all, I have this code in an iframe [code=html]<FORM><INPUT TYPE="BUTTON" VALUE="Go Back" ONCLICK="history.go(-1)"></FORM>[/code] it works fine but i need it to taget another iframe on the page and change that iframe and go back in its own iframe Thanks in advance.

Member Avatar for essential
0
78

The End.