15,694 Topics
![]() | |
Hey I want to declare a variable that is global that I can use (and modify) all over my website. Ive read that I may be able to do it with jQuery but not sure how to (more importantly, where). Its a simple text field, nothing else. Specifically it must … | |
Hey all, writing some code but keep getting a javascript related "Not Implemented" error. The code is window.onload=setTimeout('loadAll()',10); The code works fine but the error is annoying in that "An error has occured.." keeps popping up. Oh how I love cross browser coding. Anyways, any input is appreciated, thanks! | |
Hey Let me see how I describe this.... I have a textbox (inside of a form) and that form also has a button that calls a Javascript function that does some unrelated stuff. This is all inside of Lightbox. I want to be able to type in text in that … | |
Hello all, Im new here and looking for some advice re the google maps javascript API (which im also pretty new at) The background: I have managed to get some pages that use the googlemaps interface up and running add markers to them etc and allow the user view directions … | |
Hey everyone, Does anyone know of any good JavaScript 3D charts? I found a Pie chart that works pretty nicely (http://keith-wood.name/gChart.html), but now looking for a 3D bar chart. Thanks, Cassie :) | |
hi i have this variable which looks like this ؛ 002005 And i want to split it into two halfs three each . What i want to do is to put the first 3 numbers in a new variable and to remove its starting zero padding to get only 2 … ![]() | |
Does anyone knows how to make a particular website their default home page when they click the button "Make this site your homepage" using javascript. This sample code works in IE, but other browsers doesn't know this code. [CODE] this.style.behavior = 'url(#default#homepage)'; this.setHomePage('http://localhost/getuptodate/php/getuptodate.php'); [/CODE] Could someone help me in figuring … | |
I have a jsp page which has post comment box. I have written a servlet which takes a comment from the text area for the comment box and writes the comment to the database and redirects all the comments stored in the database to the page for display(using request dispatcher). … | |
I have a php file lets say file1.php, that printing a variable, its dynamic numbers output that already always increasing, like private message numbers that coming or others : <?php echo $variable ?> i want to put that variable output, in another files page title, lets say file2.php or file3.html, … ![]() | |
I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> … | |
I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> … ![]() | |
Hi, I want to download file(pdf) using save dialog when user clicks a link from Html Page. There is html page where i used anchor tag to open a PopUp window(aspx form) where user will enter his details and submit the details which will save in database.After submitting the details … | |
Hi, i am trying to add some realtime form validation for my registration page, however only my email input is displaying the either correct or error output that it should, and neither my username or password are, I have tried for the past couple of hours to see what is … | |
Hello, I'm working on an image-gallery type application and I have got the images to work, in that the gallery works and the image changes at the particular interval. BUT, I need a way to stop the images changing when you mouse over the event. Here is what I have … | |
When you assign an element of a window to a variable with getElementById() or getElementByName(), that variable is referring to an Element Object that is a property of the Window Object. This behavior is not true for frames, however; the value of the name or ID of a frame element … | |
When you assign an element of a window to a variable with getElementById() or getElementByName(), that variable is referring to an Element Object that is a property of the Window Object. This behavior is not true for frames, however; the value of the name or ID of a frame element … | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://www.appelsiini.net/projects/jeditable/jquery.jeditable.js"></script> <script type='text/javascript'> $(document).ready(function(){ $('.edit').editable('save.php', { id : 'name', name : 'newvalue' }); }); </script> <ul> <li>Name:- <div class="edit" id="name"><?php echo"$name"; ?></div></li> <li>Surname:- <div class="edit" id="surname"><?php echo"$surname"; ?></div></li> <li>Login ID:- <div class="edit" id="login"><?php echo"$login"; ?></div></li> </ul> *newvalue=user edited content id=elements id* This is my code … | |
Hello, i have this piece of code that counts the number of words in a td based off the class of the td. It works find if all the words inside the td's are the same, but if i change one, it doesnt work. <html> <head> <script type="text/javascript" src="jquery.js"></script> <script … | |
hello guys! am trying to put time on my website, and i want the seconds to be changing each time, but untill you refresh page! i've tred using the setTimeout() method, but to no avail! help please. this is my code: // Page Times JavaScript Document window.onload = initDate; var … ![]() | |
hi guys... i really need help on this one... i try to put a form like this <script> function checkuser() { var xmlhttp; if(window.XMLHttpRequest) { xmlhttp=new window.XMLHttpRequest(); //for mozilla } else { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState == 4 && … | |
URGENT: guys i really need your help with this. I have been debugging my program for days but it doesn't seem to be improving this is the code for the table layout: <table border="1" id="COT_Table" onclick="getTableID(this)"> <td rowspan="3" scope="row">COT</td> <th colspan="4" scope="col">SFAL</th> </tr> <tr> <td colspan="2" scope="col">Temperature</td> <td rowspan="2" scope="row">vol … | |
What i have to do is make a slider and that slider controls the speed of a spinning box. How to get the slider to control the speed with javascript? <!DOCTYPE html> <style> .twirl { -webkit-animation:bluespin 3s linear infinite } @-webkit-keyframes bluespin { from { -webkit-transform:rotate(25deg); } to { -webkit-transform:rotate(400deg); … | |
have data in this format =[{"Name":"A","children":[{"Name":"C","children":[{"Name":"CC",children":[{"Name":"TC","count":1,"children": want it in readable/xml format to make it easily understand like A:C:CC:TC and then A:B:BB etc to clearly shw the structure basically. how to do??? thanx | |
Hello all! I would like to ask for some help/guidance on how to achieve the following: I am currently working on a website where I have an image and next to it a jquery youtube player (http://badsyntax.github.com/jquery-youtube-player/index.html). Both of them work fine and are placed next to each other. However, … | |
Hiya! I'm working on converting an HTML document (AmCharts Pie) to all JavaScript for work, and I ran into a bit of a bump. (NOTE: I'm not a Javascript programmer) Okie - my question is this: Is there a JavaScript equivalent to the HTML Div tag? Here's a piece of … ![]() | |
Hi, If some one can guide me to the right direction I'm trying to use arrays to display urls in one line and under the url the text name of the href text. The second function it doesnt work some help will appreaciated. thank you. <!DOCTYPE HTML> <head> <meta http-equiv="content-type" … | |
![]() | I want my code yo retreive an xml file and display it as an options list under a select object but the code in google chrome is giving this error "Uncaught TypeError: Cannot read property '0' of undefined" and i dont know what to do about it please can someone … ![]() |
I am having trouble getting this to work. I have a form which when the Go button is clicked, calls a function; code for the form & the script listed below: <script> function RunSelectedReport(reportChoice) { alert("reportChoice: " + reportChoice); if ( reportChoice === "AllCalls" ) { alert("All Calls"); } else … | |
<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name. | |
i just need a clear explanation for this: var lastCol = getColumnCount()-1; var lastRow = getRowCount()-1; var table = document.getElementById(TableID); var rowSum; /*Summation of all the values in of rows*/ var columnValue; if(ths == 'on'){ for(var b=1;b<lastRow+1;b++){ rowSum = 0; for(var i=0;i<lastCol-1;i++){ columnValue = table.rows[i].cells[b].childNodes[0].value; if(columnValue != '' && !isNaN(columnValue)){ … |
The End.