14,053 Topics

Member Avatar for
Member Avatar for ray-ann

how can i put choices in a guessing game. choices such as a,b, c, and d. And if the answer of the player is correct, the game will proceed to level 2, else game over.

Member Avatar for twiss
0
63
Member Avatar for dietdew12z

Hi, I'm normally over on the PHP board but this one is definitely a javascript issue. The thread title doesn't quite cover my issue, so I'll try to explain a little further. I built a website for a client who tells me that when he hovers over a word on …

Member Avatar for twiss
0
208
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
122
Member Avatar for tohobaby

how can i change the color and the font type to bold when the checkbox is oncheck? [CODE]<script type="text/javascript" language="javascript"> function colorBlack(e2) { var radgroup = document.getElementsByName(e2.name); for (var r=0; radgroup[r]; ++r) radgroup[r].parentNode.style.color = radgroup[r].checked ? 'black' : 'red'; } </script>[/CODE] this is the code to change the color but …

Member Avatar for twiss
0
194
Member Avatar for hindu times

Hi there, I have been told I need to use escape() and unescape() to fix some issues I am having with my Javascript in IE7. I've been fiddling with it for two days now and can't seem to get it working correctly. It would be amazing if someone on here …

Member Avatar for twiss
0
136
Member Avatar for jdavenport

In the javaScript function below, is there anything I can add to the window.open so that the parameters passed in the URL do NOT show in the window that is opened? It is okay if the script path shows, I just need to hide the parameters. If that is not …

Member Avatar for Airshow
0
5K
Member Avatar for aPPmaSTer

Hi, I'm working on an application that is supposed to allow a user to upload a picture, which would be immediately displayed... how do I go about doing this?

Member Avatar for ko ko
0
73
Member Avatar for samalpramod

HI, I am trying to xmlhttp object using ajax. In my first request I am getting the desired result. On the readystatechange I called a function whic process the response of the first request. According to the response of my first request, I fired the second httprequest. But the second …

Member Avatar for hielo
0
131
Member Avatar for filch

I have a page at the following URL: [url]http://www.streetkids.org/ways_to_donate/make_donation2.php[/url] which is a basic donation page. The two page sections you see on the page "One Time Gift" or "Monthly Subscription" are normally hidden via a document.write via a body onload. Generally, all of this functions well. But, I want to …

Member Avatar for Airshow
0
1K
Member Avatar for Barrett1

How would I go about getting a variable from a jQuery plugin? index page [CODE] $("#test-div").myplugin(); if(testvariable == 1){ alert("test variable equals 1"); } [/CODE] The plugin page [CODE] (function($){ $.fn.myplugin = function(){ var testvariable=1; return testvariable } })(jQuery); [/CODE]

Member Avatar for RRPowered
0
77
Member Avatar for veledrom

Hi, Code below replaces selected number with an URL given by the user. It doesn't work the way it supposed to do. If I select second 2 to make it an URL, it makes first 2 an URL instead. How do I solve this problem? Thanks in advance [CODE]<script language="JavaScript"> …

Member Avatar for veledrom
0
93
Member Avatar for rhuffman8

I am trying to make a page, similar to DW, with a menu bar at the top that loads specific content into the body when the links in the menu bar are clicked. I have read a few things about how to do this using javascript but I cannot seem …

Member Avatar for rhuffman8
0
520
Member Avatar for fuchsia555

hello everybody i need your help and experience for having code to show ( overlay / modal window ) to the user when closing or navigating away from the page ( i want put in this window facebook share to make the user to share the page in his facebook …

0
61
Member Avatar for devinodaniel

Hello! I have what I think is semi-easy. I just can't figure it out. [CODE] <html> <body> <div id="container"> //scan in barcode here <div id="repairID"> <table> <tr> <td> Scan ID: </td> <td> <form method="post" name="editRepairForm" action="https://example.com/IDEdit.do" target="frame1"> <input name="scanId" id="scanId" value="" /> <input name="fromLaunchScreen" id="fromLaunchScreen" type="hidden"/> <input type="submit" id="SubmitForEdit" style="display:none;"/> …

Member Avatar for devinodaniel
0
218
Member Avatar for LRNPHP

Hi Everyone, I'm looking for a nice menu, I have something like this in mind. [url]http://www.andrewsellick.com/examples/tabslideV2/[/url] I just need 2 menu's. One on the left and the other on the right. When I move my mouse over it it should drop down with a short description. Any help or pointers …

Member Avatar for newbieJS
0
124
Member Avatar for newbieJS

I have been working at this for far too long and I'm having no luck sorting out my menu issues. Please HELP ! Below I will paste the code. I went through numerous tutorials and have attempted to make use of two functions (provided on-line through W3Cschools tutorials.) I have …

0
84
Member Avatar for 68thorby68

I have read through loads of comments about how and why object expected can be reported, but I think my problem is that my javascript and calls are rubbish. I want to build a simple function that, if I de-select the first check box, all other checkboxes are de=seleceted, or …

Member Avatar for 68thorby68
0
117
Member Avatar for smakdown

Hi everyone ,, I'm planning to start doing editor web application for my final year project , now i have to decide which RIA framework to use , i have no problem to adopt any new language and i love to learn more :D , i have seen GWT but …

0
24
Member Avatar for XerX

Hello. This is my program: [CODE]<html> <head> <script type="text/javascript"> function check() { if (document.getElementById("age").value!=1) { alert("error") } } </script> </head> <body> <form> Age: <input type="text" id="age" size="30"><br /> Name: <input type="text" id="name" size="30"><br /> <input type="button" value="Check" onclick=check()> </form> </body> </html>[/CODE] and my question is how to make it display …

Member Avatar for XerX
0
140
Member Avatar for serdas

this works perfectly wit FF but not with IE <body onLoad="Calling();"> do you have any ideas why please? Thank you

Member Avatar for Airshow
0
79
Member Avatar for loolek

Please help me!! What is wrong with my code?? [CODE]<div id="pictureFrameDogodki"> <div id="pictureMainDogodki1" style="display:none;"> <img src="images/snowparty.jpg" alt="pa"/> </div> <div id="pictureMainDogodki2" style="display:block;"> <img src="images/pokerturnir_zanet.jpg" alt="po" /> </div> <div id="pictureMainDogodki3" style="display:none;"> <img src="images/molella.jpg" alt="mo" /> </div> <div id="pictureMainDogodki4" style="display:none;"> <img src="images/Inna.jpg" alt="in" /> </div> <div id="pictureMainDogodki5" style="display:none;"> <img src="images/demosntracije.jpg" alt="d"/> </div> </div> …

Member Avatar for loolek
0
239
Member Avatar for msqueen082

hello I wrote code for a scramble word game and I am trying to set focus everytimge I click on check button..I've got it so it will set focus when I start game, but whenever I put put setFocus() on the onclick of the button it will not work... is …

Member Avatar for msqueen082
0
113
Member Avatar for asg333

I have a form that takes a zipcode as input and displays a google map on the same page using ajax. If I submit the form using a submit button, it works fine. However, I would like to auto submit the form after 5 characters are entered. This code works …

Member Avatar for Airshow
0
156
Member Avatar for sunny124

Hi, I have a checkbox where if a user clicks it, the address fields gets removed and if he clicks it again, it should add those address fields back. I can get it to remove it successfully but when I try to add those fields back, I get [object Object] …

Member Avatar for sunny124
0
119
Member Avatar for 7kemZmani

[B]how can i transferring between 3 tables in a certain location in the webpage by clicking on one of 3 buttons above this tables and each one of them (the tables) came over the other (in same place) using ajax technique.[/B] [COLOR="red"][B]seriously[/B] i need it ... and thanx in advance[/COLOR]

-1
74
Member Avatar for feoperro

Hi there, I'm trying to do a Username validation with JQuery but I'm not sure how to get a "TRUE" from the first section of code before going to the next section which is an ajax call to the backend. Below is my code. [CODE] $(document).ready(function() { $("#username").change(function() { var …

Member Avatar for feoperro
0
262
Member Avatar for nizuya

[CODE]<a href="javascript:document.apply.submit()" >Submit</a>[/CODE] I use this all over my website. It works great every where but on one page. The error is document.apply.submit is not a function. I would include the code but the page really long. Anyone have any ideas what would cause this error?

Member Avatar for nizuya
0
88
Member Avatar for branding4you

I have 2 sections of code that mess up the layout when they are on the same page, and only in IE8 on the server, localhost it looks perfect is there any code that i could use to make the code standard the imagelookup is the one moving to the …

Member Avatar for codewall
0
160
Member Avatar for cagline

how to create popup message ,popup when database changes,....like facebook notification( even browser was minimized .. onfocus()not enough)

Member Avatar for codewall
0
70
Member Avatar for anita_86

Hi All, I am using this code to populate a drop down list from mysql database. I need to pass id and name through this code.but the problem is the value is lost when the page gets refreshed.and it works fine if i pass only name through it. my code …

Member Avatar for codewall
0
74

The End.