15,120 Topics
| |
Morning, and greeting to all~ I'm building a [B]registeration form[/B] for a forum i got 3 input : [B]User Name, password, and email[/B] In this case i use [B]ajax[/B] to do the [B]duplicate validation check[/B] once the registering user entered a name or email that has been took by other … | |
I have been asked by a client if it is possible to have an image appear when a user tries a screengrab on images on his website. Can this be done? | |
I saw one page where image was loading. First, there was something like this image (in this text: first image): [URL="http://www.lutrijabih.ba/images/loading.gif"]click[/URL]. And then, when image (real) loaded, it replace first image. Do you maybe know how to do that? (I don't remember the URL of this page.). Thanks! | |
Hi all, I have a html page with html form input boxes in it. What I want to do is validate these input boxes with javascript. I have a span element(error message) next to the text boxes which will only be visible when the user submits the form without entering … | |
Hi, I have a form with 5 input fields. In one field I am taking a number as an input. Now I would like to have a pop-up page with some input fields (matching the number entered in the previous field). As the user complete the inputs in this fields, … | |
Hi. I have a problem with some JS at my website. The user has to fill out a form, enter his/her name, e-mail, phonenumber, location etc. The problem is that I don't want to have a fake phonenumber entered to my database, so I want to verify the phonenumber by … | |
| Hi, I'm new to JQuery and attempting to write a script to check username availability. My problem is that no matter what I type, I always get back "This username is already in use." JQuery source: [CODE] $(document).ready(function() { jQuery.validator.addMethod("usernameCheck", function(username) { var isSuccess = false; $.ajax({ url: "username_availability.php", data: … |
Why are there in the javascript variables both null and undefined? And when we use the null or undefined? please help me!!!!:icon_redface: | |
Hi, I'm a beginner of JavaScript. I need the code for creating [b]pgv_pvid[/b] and [b]ssid[/b]. I had searched the web, and got some code, I wonder if the code is right: [code]var curDate = new Date(); var curMs = curDate.getUTCMilliseconds(); pgv_pvid = (Math.round(Math.random() * 2147483647) * curMs) % 10000000000; ssid … | |
Hi, new to AJAX, trying to figure out how to do a very specific thing: I want to have a textarea update a database column and then pull down the info from that column and display it, without refreshing. I'm using JQuery and AJAX and PHP and SQL to do … | |
hi I have script that provides search in multiple sites. But i cannot understand why at the end we use [CODE] return false;[/CODE]? whynot we use return true? [CODE]<script type="text/javascript"> function dosearch() { var sf=document.searchform; for (i=sf.sengines.length-1; i > -1; i--) { if (sf.sengines[i].checked) { var submitto = sf.sengines[i].value + … | |
Hi, I've got a page that I would like to count how many times a each button or hyper-link was clicked, Basically it's what "google in-page analytics" dos'nt succeed to do in my site. 1. Is there a script that does it? 2. What is the best way to store … | |
Hi The below script does the job I am looking for I am not to sure how to make the drop down dependant ex ; Val 1 in box one return Val1 in Box 2 etc.. any idea someone Sydney [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> … | |
I have a textarea box that sends the information to Javascript via onclick(). I want to execute the code the user puts into the textarea. How can I do that? [CODE]var code = document.getElementById('code').value [/CODE] That's part of the function that gets called via onclick. See that variable is called … | |
hi ... frnds i am confused bcoz of j-script , i have used j-script code to hold the position of selected row of gridview . the gridview is supports to scrolling by <div id="grdWithScroll" style="overflow :scroll ; height:200px ; width:100%" onscroll="SetDivPosition()"> and j-script code is <script type="text/javascript"> window.onload = function(){ … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 == "") { … | |
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 … | |
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 … | |
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 … | |
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. … | |
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() { … | |
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 … | |
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 … | |
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 … |
The End.