15,698 Topics

Member Avatar for
Member Avatar for thebluestar

[CODE=html] <!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=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function sendto() { var Lname = document.myform.last.value; var Fname = document.myform.first.value; document.write("Hello!," + " " + Fname + Lname); var choice = confirm("Your name is true? OR press Cancel …

0
60
Member Avatar for chevechiva

Hi again chaps, here I come with one very common problem which I haven't been able to find a proper solution. Please take in consideration that I've made my part of research. Here's the thing; I am building a website with a very plain main page. It displays some text …

Member Avatar for chevechiva
0
162
Member Avatar for Azzyh

Hi. Firstly i would like to say hello to everyone on Daniweb.com, im new here. I am using jQuery and AJAX. And i dont know what possible could be wrong with this i made. The script i made, should insert data into database through a form. Let me show you …

0
45
Member Avatar for arunss

Am designing a web page for mobile browsers. I have a div (having id 'wrap') which is 320px width and margin:0 auto. My all contents including header is within this wrap div. When I view it on my desktop browser it is positioning in center with a width of 320px. …

0
73
Member Avatar for MJ Pieterse

Hi, not sure if i'm posting this in the right category... i'm not sure if there is a tutorial or anything like this that exists because i've been on google for the past two weeks trying to find a tutorial that will allow me to build my own thing like …

0
71
Member Avatar for sonu

i want to display images based on the text clicked from the list on my webpage, am unable to decide which option to choose for this.. pl help,thanks

0
47
Member Avatar for drabsch

i have a video player and i need to detect when the scrubber is more then 20.6% across this is the script i got so far [CODE] function ad() { if (document.getElementById('scrubber').style.left > "20.6%") { document.getElementById('ad').style.display = 'block' }else{ setTimeout(ad(),1000); } } [/CODE] this is the scrubber and the ad …

0
117
Member Avatar for xuexue

hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it

Member Avatar for xuexue
0
607
Member Avatar for claudiu_is

Hi, I need help I have a form with an input field [B]addEdit[/B], after pressing a submit button I need to read the value from [B]addEdit[/B] and sent it to db. The problem is [COLOR="Red"]no value is sent through $_POST['addEdit'][/COLOR] . Why ? [CODE=html]<form name='frm' method='POST' action=''> <table cellpadding="0" cellspacing="0" …

Member Avatar for JRM
0
146
Member Avatar for MDGM

Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How …

Member Avatar for Pharoah
0
117
Member Avatar for girl.java

hi everyone!!! how are you? i'm trying to make some game using while loop this is my code but, Unfortunately it doesn't work :( please help me [CODE]<html> <SCRIPT LANGUAGE='javaScript'> var puzzle=rabbit; var input; var i=0; input=window.prompt('White and fast with four legs ??guess the answer',' '); while(puzzle != input){ alert('hehe …

Member Avatar for girl.java
0
88
Member Avatar for fsn812

A very simple PHP/Javascript snippet to detect the resolution of a user's monitor and create a table using that resolution to best fit within the user's browser (to avoid scrolling). Note: This is a PHP script which includes Javascript

Member Avatar for almostbob
0
539
Member Avatar for jazzybabe

[B][COLOR="Red"]Please Help Me To Learn To make Regular Tour Pages and 3-D tourney pages...i the color coding in the script/html in a box you know what i mean?ty[/COLOR][/B]

Member Avatar for Graphix
0
60
Member Avatar for cjay175

Hi there I'm trying to use jquery to load some content on a page but cannot seem to find anything through google. I have about 10 checkboxes, once 4 are selected I want to get their ids, than load 4 divs with textareas depending on the ids of the checked …

0
76
Member Avatar for filch

I have the following files: 1. a PHP page that is loaded first and includes a number of functions. It calls a couple of other pages: 1a. a template file that has the following function in the head: [CODE]function checkForm( what ) { var ret = false; if( isBlank( document.getElementById('firstname') …

Member Avatar for filch
0
120
Member Avatar for aparnesh

I am developing an intranet application, in which, in some pages, when the user selects an option, I am using a pop-up window to retrieve the data and displaying it in the main page. The pop-up opens, fetches data, puts in main page and closes itself. Since the user is …

Member Avatar for bapjg
0
6K
Member Avatar for jfrojasdelrio

Hi there. I am using the slideshow along with the singlegalery.js happily. Now I want to know if you have a version of slideshow that accept width as a percentage as opposed to now that just accept pixels. I know we could modify the singlegalery.js to make this possible but …

Member Avatar for jfrojasdelrio
0
86
Member Avatar for webbee

Hi Friends, I need to create an application that will open a popup when the user closes a window. I can do that easily via onUnload event of javascript but the catch is that the popup must open only when we close the window and not when we submit a …

Member Avatar for freelancerquest
0
145
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
115
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
180
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
204
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
110
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
93
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
353
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
161
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
48
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
104
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
202
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
201
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
213

The End.