15,120 Topics

Member Avatar for
Member Avatar for sitie_aniem

[code]function calculateDate(value) { if (document.form.fromDate.value != null && value != null) { var date = getDate(document.form.fromDate.value); date.setDate(date.getDate() + parseInt(value)-1); var curr_date = date.getDate(); var curr_month = date.getMonth()+1; var curr_year = date.getFullYear(); var dateString = formatString(curr_date) + "-" + formatString(curr_month) + "-" + curr_year; document.form.toDate.value= dateString; } } function calculateValidDays() { …

Member Avatar for sitie_aniem
0
113
Member Avatar for gbgraphix

Hi, I was wondering if anyone knew of any simple load bars available for download. I don't want to use Flash and I am updating the website in Front Page. Thanks!

Member Avatar for almostbob
-1
178
Member Avatar for feoperro

Hi, I'm having a problem debugging a piece of code. I will paste the JSP version (that works) and then the exact same thing in Servlet form (that does not work). The code's function is to change a picture on mouseover and then revert onmouseout. I will paste for only …

Member Avatar for feoperro
0
203
Member Avatar for barryw33

Hi I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got …

Member Avatar for almostbob
0
108
Member Avatar for MaryFan24

Hi, I am trying to develop a website that displays a google map and some markers that I want to add from my SQL Server Database. I have tried to get the values(Latitude and Longitude) from the database in the asp.net and pass them to javascript to add a marker …

0
92
Member Avatar for aeinstein

Hi all, I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated …

Member Avatar for flexsmith093
0
340
Member Avatar for esakkirajak

HI Friends, I want to disable a browser back button in one of my aspx page.my frd suggested me to use javascript ..but i ahve no idea about it..plz help me..

Member Avatar for almostbob
0
158
Member Avatar for kinshuk2jain

[CODE=html]<input type="button" value="start" onClick="set(0,0,20)" />[/CODE] i want to make a countdown timer, and i am using the javascript code mentioned below. Also , to start the timer, i use the button 'onClick' event(written above). The problem is that the clearTimeout() is not working. The countdown timer never stops . Any …

0
46
Member Avatar for aneeka

Anyone, help me here. Is my code possible? I need to assign the total number of records from the database query to the graph of javascript. [CODE]]<?php mysql_connect("localhost", "aaaa", "aaa") or die(mysql_error()); mysql_select_db("aaa") or die(mysql_error()); $result = mysql_query("SELECT * FROM table WHERE field ='1'") or die(mysql_error()); while($row = mysql_fetch_array($result)) { …

Member Avatar for aneeka
0
102
Member Avatar for cpeeyush1

hi i am designing a web page that contains to many java script but the problem is that when i open it in IE then IE block the java script and shows a yellow bar at the top then when i unblock it then IE shows my script i know …

Member Avatar for StefenL
0
200
Member Avatar for changeco

I wrote this code and I can't get it disappear on mouseout.. [CODE]<script language="javascript" type="text/javascript"> var activeLayer = "0"; function highlight(theLayer) { highlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function lowlight(theLayer) { lowlighter = document.all? document.all[theLayer] : document.getElementById? document.getElementById(theLayer) : "" } function JumpToNav(navIndex) { newNav = …

Member Avatar for changeco
0
195
Member Avatar for doforumda

Hi i want to retrieve data from mysql database using ajax and php. my code is below which does not work here is index.html [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 http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script> var url = "getCustomerData.php?id="; var xhr = …

Member Avatar for Alcaro
0
211
Member Avatar for s32ialx

ok so in order here is my code [TEX]/* index.html */[/TEX] [CODE] <!-- jQuery Scripts --> <script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js"></script> <script type="text/javascript" src="http://tdr.host22.com/scripts/li.js"></script> <link href="http://tdr.host22.com/scripts/tdr.css" rel="stylesheet" type="text/css"> <!-- Div Layout --> <div id="container"> <div id="dp">my DP here</div> <div id="hrefs"> <ul id="menu"> <li><a id="home">Home</a></li> <li><a id="about">About Me</a></li> <li><a id="shop">My Shop / Wishlist</a></li> …

Member Avatar for s32ialx
0
232
Member Avatar for bigmanjames

OK basically im confused ive got an assignment due in tomorrow night and at the moment even an example code wont work for me, basically i was reading a book and ended up with the following code but it doesn't work and i have no idea to convert this from, …

Member Avatar for feoperro
0
118
Member Avatar for smarble53

First off, thank you for any help you can provide. If you can't help, thanks anyway. I have a table that i need sorted. I can sort by the table header ascending and descending using a php mysql query. Thats not the issue. I need to sort the table based …

Member Avatar for feoperro
0
66
Member Avatar for ukndoit

I am getting this error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3) Timestamp: Wed, 20 Jan 2010 19:54:08 UTC Message: Object required Line: 1635 Char: 1 Code: …

Member Avatar for parry_kulk
0
92
Member Avatar for loll_l

This is my booking form: [url]http://www.n-v-m.co.uk/Booking.html[/url] When 'Submit Order' is clicked a PHP script is triggered that emails me details of the order... What I require is an alert to pop up if either: a) The customer has selected 'No' for 'Is Vehicle roadworthy with full M.O.T.' or b) The …

Member Avatar for parry_kulk
0
222
Member Avatar for jamesxg1

Hi Everyone! I was wondering how I would use a javascript varible in jquery ?. [CODE] function postNewAnswerAlerts() { if (http_request.readyState == 4) { if (http_request.status == 200) { var result = http_request.responseText; $('div#question').load('responder.php?mode=readquestion&id=' + result).show().fadeIn('slow'); } } } [/CODE] Many thanks James.

Member Avatar for jamesxg1
0
68
Member Avatar for davebot

Hello all, So, I had this idea today. I want items in a drop down menu to be hidden after a specific date. I am totally lost on how to do this. here is what I have so far... (not much) [CODE] <select name="myList"> <!-- The id is the date …

Member Avatar for almostbob
0
85
Member Avatar for hajjo

I have table in html and each line has checkbox... what I want to do.. I click on checkbox +shift button together in line 1... then click it on line 5.. it selects all booleancheckboxes from line 1 to line 5... but if i click on the checkbox of line …

0
45
Member Avatar for hajjo

<iframe id="theIFrame" onLoad="resize()" style="width:100%; height:100%;" frameborder="0"></iframe> I have this.. the src is file go.jsp in go.jsp changes occur.. how can I resize go.jsp the iframe so that there wont be scrolling dont give me solution use scorlling="no".. simply..data will be hidden below..I want to resize the page...

Member Avatar for hajjo
0
99
Member Avatar for wblakenc

Ok here is what I am trying to. I have a form where a user will enter in the number of input fields they need (lets call them offices) and when they click the submit button a jQuery function appends the rows to a plain html table. This works fine, …

Member Avatar for pritaeas
0
502
Member Avatar for lifeworks

hi got a bit stuck on this... [code] function changeDay(newDay){ ajaxCall('tools/refresh_booking_visual.php','start=' + newDay, function(x){ var pieces = eval("(" + x + ")"); document.getElementById('booking_visual').innerHTML = pieces.visual; document.getElementById('booking_date').innerHTML = pieces.date; document.getElementById('date_back').onclick = changeDay(pieces.backdate); document.getElementById('date_next').onclick = changeDay(pieces.nextdate); } ); } [/code] My code is to do with a calendar, when the user clicks …

Member Avatar for lifeworks
0
112
Member Avatar for gdeleon101

Hello, I'm trying to get some help on a problem I'm having with my iframe and forms. I have a form that is brought into a hidden iframe. Now I can't seem to get the form to submit? I am guessing this is the case because of how the content …

Member Avatar for jovann
0
135
Member Avatar for swethakrich

Hello All, I'm trying to force my users to close a popup window before they can return to the Parent window. I more or less want to "lock" the parent window and force the user to fill in the info on the popup and hit submit, which in turn will …

Member Avatar for almostbob
0
103
Member Avatar for cmsc

I'm trying to make a calculator in javascript. The buttons are already working, but I don't know how to separate the first input from the second input. We're not allowed to use global variables so I can't use the "flag" thing. please help, here's my code so far. thanks! [CODE] …

Member Avatar for cmsc
0
163
Member Avatar for thebluestar

While saving the html code, I accidentally saved my code as encrypted code. I don't remember what did I do. More importantly, Now I dont' now decrypt it. Please help me make it return as html code. Thank a lot! [CODE] 3C 21 44 4F 43 54 59 50 45 …

Member Avatar for almostbob
0
655
Member Avatar for cw08

What I'm trying to do is import a list of addresses from an xml file and display them in a google map. When each marker is clicked, a window will appear with the address and a name given from the xml. So far, I've gotten the code to work, with …

Member Avatar for pritaeas
0
154
Member Avatar for Shanj

I want to install a site glossary using tooltip popups. No problem finding tooltip popup scripts. But obviously I don't want to code the same word every time it comes up on different pages to make it use the js. Ideally I want to have a txt file with word+definition …

Member Avatar for pritaeas
0
72
Member Avatar for EddieC

Zend Technologies today is set to announce a series of alliances intended to allow its PHP framework and development environment to work with other widely deployed RIA technologies from Adobe, Dojo and IBM. In a keynote speech at [url=http://www.zendcon.com/ZendCon08/public/content/home]ZendCon[/url], the company's annual PHP developer conference in Cupertino, Calif., Zend CEO …

Member Avatar for ablitz
0
454

The End.