15,688 Topics
![]() | |
This script can be used for star ratings on for example forum or music sites. The scriptinformation is included within the script. ~G | |
Hi everyone, As the title of my topic says, I created a javascript loop that had some PHP code inside of it, hoping that every time the javascript function ran, it would re-call the PHP code inside of it. Turns out my hopes failed - the PHP code is only … | |
i have all the fields working. now i just need the user information as well as my created images into my sidebar div id="badge" and div id="results" every time i hit submit it clears the form rather than posting it. what am i missing? [CODE]// JavaScript Document function setupForm() { … | |
Hi there, I have some simple code that goes off and loads a bunch of tiled images into a web page. What I am trying to do is replace one of the tiles with a blank image in the event the image does not exist on the server. I am … | |
Please guys ('am new to asp.net/vb.net') I want to know how I can code to view images from different folders, as you can traditonally view from your system '~\my documents\pictures'. I have searched for components but couldnt find any suitable one | |
I have a tree am working it dynamically on server side. i want on click an image like loading to appear. anyone knows how to workout this with div and span??? any little example? | |
I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> … | |
$DoCNO=$_POST["DoCNO"]; $NumAt=$_POST["NumAt"]; how to retain my `$_POST` value when it submitted my myform it seem when submit it will reset the value inside the `$DoCNO` and `$NumAt` value java script: function testResults (form) { var TestVar = form.inputbox.value; location.href="PrintMe.php?Result=" + TestVar; return false; } my PHP code: <table width="1060" border="0"> … | |
Hi and thanks for looking. The problem i'm having is simply getting an image to swap on a mouseover. Well I sort of had it working but then I cahnged the function to try and accomodate for more images and it just fell over dead. Let me show you the … | |
Hi all, I just want to ask you a simple question. I can't find the answer anywhere. How can I change the alert's title in javascript? | |
Hi. I'm trying to add event listeners to multiple elements of the same class. The DOM is something like this: [CODE] <body> .... ....... .......... <ul class="x"> <li class="a"> .... ... <span class="someclass"> [ <a href="http://someurl/x1>link text</a> ] </span> </li> <li class="b> .... ..... <span class="someclass> [ <a href="http://someurl/x1>link text</a> … | |
I'm trying to writer a timer to demonstrate how long it takes to load a web page and all its content. I want to repeat the load throughout the day to demonstrate slowdown at times of peak usage. I know there are tools like HTTP Watch and HTTP Analyzer that … | |
I just wrote a code for a hover animation for a button based of Dragon Interactive tutorial. The problem is that when I first load the page and hover over the button it doesn't animate. But consecutive hovers animate fine. The first hover works just like a CSS :hover. I … | |
I need help with my form page. I have almost everything working the way i want it to. now the question i have is what is the code needed in order to process the form? the requirements are -All user input must come from input fields in a single form … | |
Hi all, I have a map made of 4 img elements that I want to conditionally add mouse click listeners to. The map, and all this functionality is loaded up through an Ajax.Updater, which is called by a mouse click event. So you basically click a link which calls the … | |
How do i create a phone number form box in javascript using no inner html . there must be at least one dash in it. this is my div for the phone number <body> <div id="wrapper" class="grid_12"> <div id="header" class="grid_8"> Take a Survey </div> <div class="clear"></div> <form method="post" name="myform"> <fieldset … | |
Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either … | |
i have 10 button on click of button the colou change red ,blue alternatively . There is also an array initialised with zero ,by default buttons are red in colour. these are implemented but there is problem on click of each button the php corresponding array variable must changed to … | |
Hey Ive been trying to make a login script using ajax, the thing is I cant get the php script am calling with ajax to set session variables. Is it even possible? Should I use Cookies becouse I know I can set them with javascript or should I just skip … | |
How to use Ajax for thumbnails navigation.The thumbnails have been genereted by PHP. | |
is there any command or ajax that Javascript is checked repeatedly to one or two variables without any command and without reloading the page...??? following example: [CODE] <html> <body> <!--- This section is repeated or changes automatically if the data is changed --> My ID: 100 MyPhone: 123456 <!-- End … | |
I am in need of some assistance. I am trying to create a form page where users must input a phone number and email address. Using the coding that i have now and NO inner html how do i create the codes for a phone number and email address. I … | |
Hi, I'm doing embedding Windows Media Player with the HTML but I can not run the script through a different page. The following script that I made: [B]file : player.html[/B] [CODE]<html> <OBJECT id="VIDEO" width="640" height="480" style="position:relatif; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="file_name.mpg"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="true"> <PARAM NAME="AutoStart" VALUE="true"> <PARAM name="uiMode" … | |
Hi all, please, help me with jquery - I'm totally amateur in javascript. I use script to assign the value to item selected from html select box. The second script adds row into my form. The first row works o.k. but if I´m adding another rows, only value from the … | |
hi.. i want to know how we can attach a ext. javascript to server controls like buttons or Imagebuttons. cause in my app. im using few image buttons. i want to change the image of image button on mouseover event, but when i try to write properties in my source … | |
Hi, i am trying to use Dreamweavers Spry menu tool to create a horizontal menu. The structure and links all work fine but in the submenu dropdown box the background colour only extends as far as the text within and the rest is left white (using IE 6). This doesn't … | |
Hi All, I need to track the number of times a link is clicked/file downloaded & capture this info in the database. please advise urgently.. | |
Hi all. :icon_smile:I am having problems with my form validation and getting it to run. I also have been unable to get the last page update to display at the bottom of the screen:icon_redface:. Is anyone able to help me to get these things to work - I am getting … | |
Hello! Below is a part of an html document where I need to save myself time in having to manually put in the number in the p class="ArtNumbers" section. Thank you very much, I'm grateful for your time.[code]<td><p><img src="Food2/SF_Food_01.jpg"></p> <p class="ArtNumbers">1</p></td> <td><p><img src="Food2/SF_Food_02.jpg"></p> <p class="ArtNumbers">2</p></td> <td><p><img src="Food2/SF_Food_03.jpg"></p> <p class="ArtNumbers">3</p></td> <td><p><img … | |
[CODE=javascript]clock(); function clock(){ var d=new Date(); var hour = d.getHours(); var minute = d.getMinutes(); $('#hr1').css('text-indent', '-'+hour.charAt(hour.length-2)*50+'px'); $('#hr2').css('text-indent', '-'+hour.charAt(hour.length-1)*50+'px'); $('#min1').css('text-indent', '-'+minute.charAt(minute.length-2)*50+'px'); $('#min2').css('text-indent', '-'+minute.charAt(minute.length-1)*50+'px'); clock(); }[/CODE] I need help updating my jQuery clock. setInterval and looping the function doesn't seem to work. The variables are updating well but the css properties are … |
The End.