15,699 Topics
![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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? | |
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 … | |
Hi , i have loadcalender function in server side . so how can i call by javascript in image on clientclick() . please give reply Regards ashish | |
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 … | |
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] | |
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"> … | |
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 … | |
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 … | |
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;"/> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
this works perfectly wit FF but not with IE <body onLoad="Calling();"> do you have any ideas why please? Thank you | |
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> … | |
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 … | |
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 … | |
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] … | |
[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] | |
![]() | 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 … ![]() |
[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? | |
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 … | |
how to create popup message ,popup when database changes,....like facebook notification( even browser was minimized .. onfocus()not enough) | |
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 … | |
Greetings Everyone, The Scenario is, we are incorporating a js calender into a page, as usually, there is a issue with calender clip location, the css of calender is in javascript, i have tried targeting firefox enough with tags like (firefox, -moz-binding:, load-mozilla-css, ff4) in the following code snippet [CODE] … | |
Hi, I am having a text box in a form in HTML, I tried to focus the text box function a(){ document.formname.textboxId.focus() // this function works in IE but throws script error document.formname.textboxId.onfocus() // text box is not selected and no script error. } | |
So I'm new to the programming side of webpages, but I'm trying to learn. I am in the process of making a single page website for a local radio group of roughly 20-30 members which may increase over time. They want to be able to show when they are online. … | |
I'm searching for a not-too-complicate solution to create drop menu. I target the output on webpage similar to Demo 2 on; [url]http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm[/url] Please advise whether; CSS Menus - Fluid and Accessible - Vertical Tutorial [url]http://ago.tanfa.co.uk/css/examples/menu/tutorial-v.html#vstart[/url] and CSS Menus - Fluid and Accessible - Horizontal Tutorial [url]http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html[/url] are the right instruction … | |
Can you check this site? (can you check can you listen to music? [my browser is firefox, and can you check it with other browsers?]) Thanks! ([URL="http://latinus.herobo.com"]click[/URL]) (PS. Glasnoća means volume) | |
I want to do some paint in browser and I use VML in IE. here is a clear XHMTL document [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD> <META content="text/html; charset=UTF-8" http-equiv=Content-Type> </HEAD> <BODY> </BODY> </HTML> [/CODE] I want to add <v:line style="POSITION: absolute; BEHAVIOR: #default#VML" from = … | |
[B]Trying to install a slideshow and a quote rotator, and can only get one to work at a time. I assume the scripts are conflicting, but is there a way around this? Can I just rename one of the [COLOR="Red"]$(document).ready(function()[/COLOR] to like [COLOR="Green"]$(document).ready(function(2)[/COLOR] or something?[/B] This forum tries to explain … | |
Hi Everyone, I have integrated a Google Map on my website, which is working in good order. The maps data such as location lat/lng is coming from database. At present all the location markers are appearing on the map. I have a php page which draws out all the sql … | |
Hello everyone, i'm using the keith woods jqeury datepicker, now my question is about the rangeselect option, it always blancs out dates previous to your first selected date, is it possible to change this so the "oldest" date is the first, it can be a little confusing for some users … | |
Hi guys, I am in the process of creating a login form in ASP.Net and I have not written any code for it yet bcos I dont know how to go about doing it.In the past I have created basic login forms in ASP.net by redirecting them to a page … | |
Hello, I'm encountering an AJAX problem when I try to execute multiple AJAX requests at the same time. What I want to do is delete a message and display the status (succes or failure) of that in [I]div1[/I], and refresh the messages on the page in [I]div2[/I]. This needs (for … | |
![]() | Hi, Does anyone know how to add an [URL="http://ajaxload.info/"]ajax loader[/URL] to the [URL="http://jquery.bassistance.de/validate/demo/milk/"]remember the milk[/URL] validation example? So that while the backend is busy, it shows the gif, when it's finished, it hides the gif... Thanks, Ashton. |
Hi everyone, I need to find the Latitude and Longitude values for a moving vehicle from the Google Maps, using javascripts. Can you give the sample code, please help me. | |
hi i want to check off a checkbox while i'm typing. for an example if i'm typing "oranges are good" and i have oranges, apples, and blueberry under my check box. i want oranges to be checked of as soon as i type oranges in my phrase "oranges are good". … | |
Hello; Could you please help me figure out why this form of mine does not show all the DIVs when I choose all the checkboxes of the Page Kind. [ICODE] <%@ Page Language="VB" MasterPageFile="~/_templates/MasterPage-ContentNormal.master" autoeventwireup="false" inherits="SierraClub.PublicSite.BasePage" title="Add This" %> <asp:content id="content1" contentplaceholderid="maincontent" runat="Server"> <style type="text/css"> body{ font-family:"Lucida Grande", "Lucida Sans … | |
Morning, and greeting to all~ I'm building a [B]registeration form[/B] for a forum i got 3 input : [B]User Name, password, and email[/B] In this case i use [B]ajax[/B] to do the [B]duplicate validation check[/B] once the registering user entered a name or email that has been took by other … | |
I have been asked by a client if it is possible to have an image appear when a user tries a screengrab on images on his website. Can this be done? | |
I saw one page where image was loading. First, there was something like this image (in this text: first image): [URL="http://www.lutrijabih.ba/images/loading.gif"]click[/URL]. And then, when image (real) loaded, it replace first image. Do you maybe know how to do that? (I don't remember the URL of this page.). Thanks! | |
Hi all, I have a html page with html form input boxes in it. What I want to do is validate these input boxes with javascript. I have a span element(error message) next to the text boxes which will only be visible when the user submits the form without entering … |
The End.