14,054 Topics

Member Avatar for
Member Avatar for kimmi_baby

Hi, what I want to do is create a menu with rollover buttons but each button also changes the background image of a div. I've managed to change the colour of the div but not add an image there. I've added my code so you can have a look. Case …

Member Avatar for kimmi_baby
0
179
Member Avatar for luisthedude

Im having problems loading content with ajax, the problem its that lets say that I have 2 links on my index.html, one is #page1 and the other one is #games1, well have happens is that if I click on either of them it just loads the same site, even thought …

Member Avatar for luisthedude
0
879
Member Avatar for dschuett

I have the following code doing ALMOST what I want. It shows an input field when the select value is "dropped". The problem I am having is that if I select "dropped" it will display the input field, but if i select a different value AFTER selecting "dropped" the input …

Member Avatar for Airshow
0
631
Member Avatar for BaSk

Hello, I'm trying to get a var from php into my jquery code, but I'm having no luck. Jquery: [CODE]$.ajax({ type : "POST", url : "sortProp.php", data : "f="+type+"&s="+filter, success : function(data){ $('#propHold').html(data); $('#propHold .prop:first').addClass('active'); alert(data.title); } }); [/CODE] Php: [CODE]$title = array("title" => "$propName"); json_encode($title);[/CODE] I can't seem to …

Member Avatar for BaSk
0
121
Member Avatar for christ_gal12

please help me with this.. ---how to put that in every level there will be limit in clicking the box..it will be display and will prompt game over when limit has been ended...the easy level will have less click while the difficult one will have more click.. ---and when you …

Member Avatar for christ_gal12
0
114
Member Avatar for doffen74

Hi. I am trying to develop a small webshop for some friends, and I tought it was working very well until I accidentally tested it in IE (works fine in Chrome and Firefox). When someone clicks the "add to basket" there is an On-Click that triggers a function. That function …

Member Avatar for doffen74
0
76
Member Avatar for Joe34

Look at my code... [CODE]<html> <head> <script> var div1 = ""; var div2 = ""; var div3 = ""; var div4 = ""; var div5 = ""; var div6 = ""; var div7 = ""; var div8 = ""; var div9 = ""; function NewDiv(type) { if(div1 == "") { …

Member Avatar for hielo
0
157
Member Avatar for carebear23

I am trying to get information from my database that contains a foreign key that relate to another table, I am trying to enter details of an order and then have the customer ID of that order enter automatically from the customer table. [CODE] [B]Customer Table [/B] CREATE TABLE IF …

Member Avatar for markdh
0
108
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
145
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
283
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
320
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
237
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
280
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
345
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
257
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
244
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
506
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
222
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
172
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
176
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
160
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
174
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

The End.