15,127 Topics

Member Avatar for
Member Avatar for Nybuler

Hello all, i'm building a register page for my forum my problem faced is i can't disable the DAMN Button! while the user input duplicate or wrong format ! Pls help me! T^T [CODE]<?php include 'dbconn.php'; include 'Header.php'; ?> <form name="frmRegisteration" action="Register.php" method="post" onSubmit="return DataValidator()"> <?php $name = $_POST['txtname']; $password …

Member Avatar for Nybuler
0
146
Member Avatar for dasatti

Hi, I am generating a string from AJAX data which contains forms and submit buttons. I then try to assign this string to a div using innerHTML. This works fine in IE but Firefox strips form tags and every thing in between form tags. How to solve this issue Example …

Member Avatar for Airshow
0
288
Member Avatar for azegurb

Hi all, I have table in Javascript and it has addrow, deleterow, submit, and functions. when i click it automatically adds new row and it has select option to choose some of them for ex. in added two rows one of them is Motherboard Asus and other is Motherboard Gigabyte. …

Member Avatar for Airshow
1
323
Member Avatar for pranalid

I am getting document.getElementById("pr_book") is null error [CODE] <script language="javascript"> google.load("books", "0"); function load_viewport() { var viewportDiv = document.getElementById("viewport"); var identifier = '<?php echo $var ?>'; var viewer = new google.books.DefaultViewer(viewportDiv, {showLinkChrome: false}); viewer.load(identifier,handle_not_found,success); var d = document.getElementById('parent'); d.removeChild(viewportDiv); } function handle_not_found() { document.getElementById("pr_book").style.display = 'none'; } function success() { …

Member Avatar for hielo
0
279
Member Avatar for ivan3510

I used [URL="http://www.ibm.com/developerworks/library/os-php-v525/index.html"]this[/URL] page for making upload progress bar. I downloaded it and uploaded it to the server (you can see it [URL="http://latinus.herobo.com/proba/progress.php"]here[/URL]), and I signed up to Google Maps API and I pasted the code, but it doesn't work. It uploads the file, but it doesn't write the upload …

Member Avatar for ivan3510
0
372
Member Avatar for LogicWeb

Greetings folks, There seems to be an odd problem with Chrome / Cufon js. Cufon works fine in IE and Firefox, but Chrome is for whatever reason top aligning (vertically) the menu text. Odd enough, when you load the page, it shows you the text align and quickly top aligned …

Member Avatar for LogicWeb
0
418
Member Avatar for navp

Hey guy, I want to know if there is a way of using PHP in JavaScript. I have no idea how can i get the variables from PHP into JavaScript. I am making a pizza application, the php file is a confirmation page. The user can either go back to …

Member Avatar for navp
0
259
Member Avatar for Shantanu88d

I have Mozilla Firefox 4.0 Beta 12 I have written a small javascript to detect ' and avoid it from getting typed in textbox. This works in IE but not on mozilla. Any suggestion ??? If that is not possible then any other logic to achieve same results ?? [CODE] …

Member Avatar for Shantanu88d
0
245
Member Avatar for atfOnly

I'm a totally beginner in javascript. i need some chunks of code of it. i have a form. i'm going to store the field into mysql. there are 2 conditions : one or all fields empty OR none is empty. when there's no empty field, the data will be stored. …

Member Avatar for Akash Saikia
0
509
Member Avatar for Whilliam

Hello guys, I have a very simple problem for you to solve. It's not simple for me but it's probably very easy to you guys. I've tried searching this but failed. Anyway, here is my problem. I have an image. When I call a function with onclick, I pass the …

Member Avatar for Whilliam
0
101
Member Avatar for feoperro

Hey there, Anyone know how to use an "onSuccess" method or something similar for "rules" in JQuery validation? [CODE] rules: { username: { required: true, minlength: 3 } } [/CODE] Not quite sure where it would fit or how it would work here - any help would be appreciated. 1000 …

Member Avatar for stewpot60
0
137
Member Avatar for moonL!ght

hi i want to be a web developer, im studing javascript right know but i didnt now how to studey it actually the book im using is awful any recomendation other that w3school thanks for any one that want to help me.

Member Avatar for Airshow
0
99
Member Avatar for Chubbymouse

Hi there, I have a very basic CMS system that I wish to update within itself and on the same page to cut down the amount of pages it gives me. At present I have a content box and an edit button, this box is validated by JS and if …

0
75
Member Avatar for shindlers

I'm working on a search engine that is just like google but customized for me and my friends. I have everything working well from the scripts supplied by google however they don't allow image searches. In order to combat this I added a link that links to google images. Is …

Member Avatar for makman99
0
82
Member Avatar for deucalion0

Hey guys, I have a lot of javascript for my google map api and I have all the information stored away in an xml file which the javascrupt reads. I have many map markers but I cannot get a line break between th esets of markers, only each and every …

Member Avatar for deucalion0
0
238
Member Avatar for carebear23

Hi I am having a problem with code i have created to delete a customer from my database, would be grateful if someone could tel me where i have gone wrong [CODE]<?php include ('db.php'); $cid=$_POST["cid"]; $cname=$_POST["cname"]; $cusadd1=$_POST["caddress"]; $cusadd2=$_POST["caddress1"]; $cusadd3=$_POST["caddress2"]; $ccounty=$_POST["county"]; $custpc=$_POST["cpostcode"]; $custele=$_POST["ctelephone"]; $cusemail=$_POST["cemail"]; print $cid; $str="delete from customer CustomerName='$cname',CustomerAddress='$cusadd1',CustomerAddress1='$cusadd2',CustomerAddress2='$cusadd3',County='$ccounty',CustomerPostCode='$custpc',CustomerTelNo='$custele',CustomerEmail='$cusemail' where …

Member Avatar for carebear23
0
183
Member Avatar for wilko1995

Hi all, I want to make a dropdown link list like the one at the top of DaniWeb. What would that be called? How do i start?? Thanks Wilko

Member Avatar for scrappedcola
0
83
Member Avatar for Awah Mohamed

hey people. i want to create a page views counter. i know how to create 1 using php but what i want to create now is to create a very dynamic page views counter that update it's self when ever a new value is added to the database. what i …

Member Avatar for makman99
0
107
Member Avatar for v_sriram

Hi Everyone, I am trying to use Ajax to submit an XML Web Service request and receive a response XML. While it works perfectly when I submit these requests directly from the XXXX, YYYY, ZZZZ servers on the intranet. The request gets stuck at .open if I connect from any …

Member Avatar for digital-ether
0
179
Member Avatar for carebear23

Hi I am having a problem with code i have created to delete a customer from my database, would be grateful if someone could tel me where i have gone wrong [CODE] <?php include ('db.php'); $cid=$_POST["cid"]; $cname=$_POST["cname"]; $cusadd1=$_POST["caddress"]; $cusadd2=$_POST["caddress1"]; $cusadd3=$_POST["caddress2"]; $ccounty=$_POST["county"]; $custpc=$_POST["cpostcode"]; $custele=$_POST["ctelephone"]; $cusemail=$_POST["cemail"]; print $cid; $str="delete from customer CustomerName='$cname',CustomerAddress='$cusadd1',CustomerAddress1='$cusadd2',CustomerAddress2='$cusadd3',County='$ccounty',CustomerPostCode='$custpc',CustomerTelNo='$custele',CustomerEmail='$cusemail' …

Member Avatar for svilla
0
174
Member Avatar for Violet_82

Hi peeps, I am having some difficulty creating a reset button that resets some text to the original status. Basically I have a div box in a page which shows what it means to use a table for layout in a page - I am doing a web editing site …

Member Avatar for Violet_82
0
180
Member Avatar for Doky123

Hey, i'm seeming to have a problem with the code below, in my calculations the values don't seem to add, it just adds the 1.50 to 25 like 25.0015 please if theres anyone who could help with this. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for Doky123
0
100
Member Avatar for garevn

Hellow i have the following files body.html data.php js3.js I am trying to create an ajax search but it doesnt work....:( The js code is: [CODE]var xmlHttp function finding(str){ try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }catch (e) { try { …

Member Avatar for garevn
0
107
Member Avatar for bharathisankhya

Hello everyone, Can anybody tell me how to call javascript in Reasonable Servlet Faces(RSF).

0
66
Member Avatar for christ_gal12

Anyone know how to put timer on this code that the higher the level the lower the time given to solve the puzzle..this will run only in IE browser [CODE] <HEAD> <style> .bigcell { background-color:#aa9966; border:4px solid #aa9966; text-align:center; } .cell { width:40px; height:40px; font-family:Verdana, Arial; font-size:10pt; font-weight:bold; background-color:#996633; color:#ffff33; …

Member Avatar for christ_gal12
0
116
Member Avatar for ladybug24

Hi Daniweb community! I started learning javascript in school, and the best way to learn is to get into it. So I found a Sudoku game online "http://iphone.janjanousek.cz/isudoku/" and download the files on to my hard drive with much success (all the scripts). The game and site is very well …

0
128
Member Avatar for raghujosh

I have a Javascript function that allows the display of a textbox upon selecting an option from a dropdown menu. In my case when a user selects listbox as the option, the text box appears. I want the same thing to happen when another option (checkbox) is selected. when I …

Member Avatar for raghujosh
0
6K
Member Avatar for carebear23

I am designing a website that connects to a database. I am using wampserver to connect to the website. In my customer add page I am trying to ask the website to generate an autonumber from the database. As my table in the database is set up as following: [CODE=SQL]CREATE …

Member Avatar for tomato.pgn
0
132
Member Avatar for singaiah39

Hi, I have problem in displaying "please wait.." text when the client requests data from the server. I have created a <div> element as below. <DIV ID="Loading" STYLE="position:absolute;z-index:5;top:30%;left:42%;visibility:hidden"> Please Wait.... </DIV> I am using Ajax call, to get some table data from the server. This takes around 10-15 seconds. Client …

Member Avatar for R0bb0b
0
1K
Member Avatar for navp

Hello, I am new to JavaScript, I have to make a pizza webpage for my assignment. I am done the HTML part and PHP part. I have a form and when the user clicks submit it calls the check() method in the JavaScript. Even if the fields are empty, the …

Member Avatar for vibhaJ
0
172

The End.