19 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Jon_7

I'm not extremely great at coding, but I'd like to have players in my basketball program be able to copy and paste some code (on their phones) from a textarea. The catch is I also want the button to turn green and say the words "Copied! Now open the app …

Member Avatar for pdsubbu
0
380
Member Avatar for munchlaxxx

This is what I was trying to do: The user enters an address, which is autocompleted by Google. Then when they press the submit button, an alert box pops up, telling them whether the address entered is within 5 miles of (42.352487, -71.079290). Then a confirm box pops up asking …

Member Avatar for AleMonteiro
0
1K
Member Avatar for wfray

This code works perfectly in IE 7 and above. The PHP/HTML code has a button to delete/undelete some data. When the icon/button is clicked it enters the javascript function "setdelete". The following HTML code sets up the button for entry into the javascript function. <button id="$delete_icon" value="Delete" onclick="setdelete($key)"><img id="$m_d_img_name" src="images/x_undelete.ico"/></button> …

Member Avatar for wfray
0
306
Member Avatar for ankit.baphna

Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add …

Member Avatar for patk570
0
198
Member Avatar for ankit.baphna

Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add …

Member Avatar for ankit.baphna
0
415
Member Avatar for nadiam

hey guys so i have these drop down menu using ul and anchor and when i click on one an image should be displayed. the problem is when i click it the image appears but then disappears right after, like a second. html: <ul> <li><a href="" onclick="document.getElementById('banquetsix').style.visibility='visible';">6 Seater</a></li> <li><a href="">8 …

Member Avatar for patk570
0
846
Member Avatar for Julia25

i have two product categories which customer can preview when click, and wish to show a message on each item. Ive found a nice script but need help to make this in 2 sets. need help. Happy new year! <!DOCTYPE html> <html lang="en"> <title>Untitled Document</title> <script type="text/javascript"> var current = …

Member Avatar for Airshow
0
469
Member Avatar for Eagle.Avik

hi, i want to change the image class on click on the image, i am also using radio input, here is my fiddle, check out and tell me what is wrong? [http://jsfiddle.net/Avik/7aKY3/1/](http://jsfiddle.net/Avik/7aKY3/1/)

Member Avatar for Eagle.Avik
0
335
Member Avatar for Steviebone

I am using a simple ajax routine to notify a server of click thrus. This routine passes information about each link on a page when it is clicked to the server which logs information about the click thru. The code works fine unless the CTL key is pressed as someone …

Member Avatar for Steviebone
0
277
Member Avatar for fheppell

I have created a CSS solar system. Along the bottom is a list of planets. When you click on a planet name it goes to '#[planetname]speed' this is not set with JS. When you click on a planet's name I want a separate hyperlink (which would be 'info')to add an …

Member Avatar for Dragennd
0
152
Member Avatar for Que336

Hi guys, please help me out with this. I'm seriously considering suicide. I have three buttons that load numbers into divs. The problem I'm having is that the buttons only seem to work once. Any idea as to why this is happening? You help will go a long way. [CODE] …

Member Avatar for Que336
0
4K
Member Avatar for Cornwell

I've searched Google and although there are several hits in this general area, none matches my issue. The problem is on [URL="http://stmarytheboltons.org.uk/hall/index.html"]this page of a church web site[/URL] where they are hiring out the hall. It's supposed to cycle through four pictures and that works in Firefox and Chrome and …

Member Avatar for Cornwell
0
1K
Member Avatar for Ksrinivas92

I am trying to create a webpage which does the following: 1)Has an image,which has an onclick javascript function f1() and an image map with a link pointing to a javascript function f2(); 2)updateAnim() is an "animation" it changes the image sources some 30 times 3)f2() is any function(trying with …

Member Avatar for Ksrinivas92
0
202
Member Avatar for DevNet

Hi guys, I'm new here so please help me. I wanted to create a memory game where in the user clicks on two images and matches them. However, in the middle of creating it I encountered a weird problem - whenever I set the "Visible" property of the PictureBox on …

Member Avatar for Mike Askew
0
1K
Member Avatar for karthik_ppts

Hi frendz, Can we set a value for a session variable through javascript onclick event? (or) How can we set a global variable for the whole website using javascript?

Member Avatar for karthik_ppts
0
6K
Member Avatar for karthik_ppts
Member Avatar for ushajase
0
16K
Member Avatar for Kniggles

Can anyone see why this dos not work please [CODE]<HTML><HEAD><script type="text/javascript"> function x() { <IFRAME( src="inputstringA" name = "bob1" ></IFRAME> ); } </script><TITLE></TITLE><META name=GENERATOR content="MSHTML 8.00.7600.16722"></HEAD><BODY> <INPUT value=www.website2.com name=inputstringA> <INPUT onclick="x()" value=" Press Input A$" type="button" name="loadb"></TD> <IFRAME src="www.website1.com" name = "bob1" ></IFRAME></TD><TD align="center" width="556" vAlign="top" height="23"> ></BODY></HTML>[/CODE]

Member Avatar for Kniggles
0
153
Member Avatar for Kniggles

I am trying to get a text box to show a number and then add it to another number,[CODE]<html> <body> Field1: <input type="int" id="field1" value="1" /> <br /> Field2: <input type="int" id="field2" /> <br /><br /> Click the button to add the content of Field1 to Field2. <br /> <button …

Member Avatar for Kniggles
0
183
Member Avatar for tommytom70

I'm really new to javascript how do I make it that when I click a button a number on my page in the <p> tag with the Id of num gets 1 added to it so it i like 2,3,4,5 each time I click

Member Avatar for tommytom70
0
168

The End.