15,698 Topics
![]() | |
[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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 | |
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 … | |
hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it | |
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" … | |
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 … | |
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 … | |
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 | |
[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] | |
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 … | |
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') … | |
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 … | |
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 … | |
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 … | |
[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() { … | |
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! | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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 … | |
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.. | |
[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 … | |
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)) { … | |
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 … | |
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 = … | |
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 = … |
The End.