17,115 Topics
![]() | |
Hello all, i have a strange problem, i use a multi files uploader on javascript and flash [URL="http://code.google.com/p/pirozek-yaps/source/browse/trunk/pirozek-yaps/plugins/uploadify/files/?r=30"]http://code.google.com/p/pirozek-yaps/source/browse/trunk/pirozek-yaps/plugins/uploadify/files/?r=30[/URL] SWFUpload jQuery Plugin v1.0.0 Copyright (c) 2009 Adam Royle. This is that script, and when i use [CODE]mysql_select_db()[/CODE] function in script for add url of uploaded file to database the status on … | |
I am working on a little project here. I have two arrays (States, Cities) I am trying to allow the user to chose one from a select form (Choice) and then have the values of the chosen array displayed in a alert(). Obviously I could just write an if statement … | |
Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with … | |
Hello sir, I m need of help regarding form validation using ajax.I need a sample code.It should be like when i have two text fields without entering the first one when i keep the mouse in to the second text box it should say in the red mark as in … | |
I'm working on an exercise using array methods, unshift() and shift() among them. In the script below I'm attempting to log an ID from the user, such as "B123" and log their corresponding bid such as "1250." I want to list each bid and id in order from greatest to … | |
I try to receive XML sample from w3schools.com ([url]http://www.w3schools.com/XML/cd_catalog.xml[/url]) but get nothing (xmlhttp.status=0). My local web server is Apache on VMWare (host OS Win7, Guest OS Ubuntu, Network adapter - NAT). Here is the code: [CODE]xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","http://www.w3schools.com/XML/cd_catalog.xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It … | |
I have a form loaded with table values from database. The form is embedded in php page because it is coming as result of AJAX request. I want to update the data in the same form and return to the table in database. the process is working overall. But when … | |
Hi folks, I have two divs in my form that contain slightly different fields. The user can view one vid at a time depending on the radio button it's checked (either business or individual). When I submit the form, all the fields in both divs are submitted and emailed at … | |
[COLOR="Green"]Hello, I am working on a website and I am new to it. I would appreciate some help. I am working with the Web Building Software that comes with cpanel, called RV Site Builder. I send RV Site Buider a Ticket and they are not getting back to me. I … | |
[CODE]xmlhttp.open("GET","tablebase.php?q="+str,true);[/CODE] I can get value to the [COLOR="Green"]$q[/COLOR] variable in tablebase.php by above method. But how i can get a value to [COLOR="Green"]$q2[/COLOR] by using the above method. Thank you! | |
We are a group of Stanford students hoping to build a tool that measures third-party plug-in performance. A mocked-up prototype of the tool can be found at [url]http://www.stanford.edu/~cliftonc/cgi-bin/[/url] It's becoming more and more popular for publishers of prominent sites, such as Mashable and many media sites, to include third party … | |
I have two text boxes and I want them both to submit the same data, such as if the user changes one text box, the other changes to the same value [U]and vise versa[/U]. I am easily able to make one textbox update the second with javascript, but not the … | |
Hello, As this forum has been so helpful before, this time it's a JS question: I have a list of checkboxes from which the user can select 1 or more to check and perform an action upon. Thus, all checkboxes have the same "name" (in ASP code, since it's DB-related): … | |
i have a html form and with a few fields i want to md5 my password field before posting it here is my code [code=java] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Employee Payroll System NIC-APSC</title> <link rel="shortcut icon" href="images/favicon.ico"> <script language="javascript" type="text/javascript" src="md5.js"> function crypt() { document.form1.password.value = calcMD5(document.form1.password.value); } … | |
<html> <body> <div align="center"> <form name="imageTest"> <input type="file" name="myImage" size="30"/> <input type="button" value="Preview!" onClick="previewImage(document.imageTest.myImage,'replaceMe')"/><br> <img src="MyImg.jpg" name="replaceMe" id="replaceMe"/> </form> </div> </body> </html> <script language="javascript"> var imgRe = /^.+\.(jpg|jpeg|gif|png)$/i; function previewImage(pathField, previewName) { var path = pathField.value; if (path.search(imgRe) != -1) { //document[previewName].src = document.imageTest.myImage.value; document.getElementById("replaceMe").src = document.imageTest.myImage.value; } else { … | |
I have a text box which accepts time(max of 5 characters only), and a drop down which accepts am or pm value. I need to perform some validations for the string values entered into the text box such as: 1) If user enters 9 => Should be changed to 0900 … | |
i m getting an error related to ajax see an image .although file is running on local but not on server any urgent reply is hghly appreciated !! | |
Hi! Just a quick question: I am using "Website Tonight" to redo a site for my boss. He wants a "floating TOC" on one page. So, when you scroll down the ridiculously long page, the categories on the righthand side move with you. (I wouldn't mind that, but I'd prefer … | |
I have searched and search for a simple solution to my problem but alas, I have had no luck, so I am turning to this forum for assistance. If you are familiar with Google Gadgets and AJAX, then this question is for you. I am trying to create a Google … | |
hiii ppl of the forum.. I have this date field in the form, i managed to get the calender script work, when i select the date, it appears properly in the text field, but on cliking submit, it gets stored as 0000-00-00 in the database. any idea frens what is … | |
Hi all, Please i need a javascript that displays a calender with only date without time so that the user chooses the date. Thanks in anticipation | |
The easy slider found here. [url]http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider[/url] I have it set to slide automatically and continuously however when you click previous or next and leave it, the scrolling will stop. Has anyone implemented something to make it so that the sliding continues or know of a way to do it. Any … | |
Hi, I have implemented an Ajax object - a div containing another ASP file which can be updated dynamically. This ASP page has a number of checkboxes. Is it possible to use JS (or any other tool) to check the checkbox status (i.e. like javascript's [CODE]if (field.checked)[/CODE]) from the containing … | |
Hi guys, I am new to javascript so thought I's post here for some advice. I'm trying to complete a simple keyword search where the keyword is forwarded on the end of a url. I have this working-(ish), but at the moment it's doing this: 1. Add keyword and hit … | |
Hello everyone. I am working on Acrobat Forms. I need to create a Save button, that when clickeded by the user, saves automatically to a folder. I need the javascript code for it... does anyone know what need to be done please. | |
I know there a quite a few of these on google but, either im not searching correctly, or they dont do what I want. I feel what I want is very simple, but I know pretty much nothing about javascript. I want to create a loop through the entire linking … | |
I'm an amateur web developer trying to move toward more professional coding practices, and I'm making my first site that makes extensive use of ajax. I've used the xmlHttpRequest object on a few occasions, for which simply creating functions as I needed them were adequate. But the site I am … | |
[B]Here is my code: the problem is that the arcs are not painted in the same position that the mouse is...[/B] So I tried to center it so I could take off 0.25 of the document so it will be precise, but It didn't work: [CODE]<html> <head> <title>My AWESOME website...</title> … | |
for the moment, I'm working on a project where I have to apply filtering as used on one table (using the jQuery datatables plugin) to a next table (which is using the picnet.table.filter plugin). now, I have been able to retrieve the values used to filter from the original table, … | |
I have an [B]ajax-register.php[/B] [CODE]include("connection.php"); if($_POST) { //form data $fname = mysql_real_escape_string($_POST['fname']); $lname = mysql_real_escape_string($_POST['lname']); $password = md5(mysql_real_escape_string($_POST['password'])); $confimPass = md5(mysql_real_escape_string($_POST['confirmPass'])); $email = mysql_real_escape_string($_POST['email']); $confirmEmail = mysql_real_escape_string($_POST['confirmEmail']); $dob = mysql_real_escape_string($_POST['dob']); // database $queryreg = ("INSERT INTO users (fname,lname,password,email,dob) VALUES ('$fname','$lname','$password','$email','$dob'"); mysql_query($queryreg) or die(mysql_error()); }[/CODE] Then I have my [B]register.php[/B] with … | |
Hi, I'm kind of new to AJAX, but heard this might be the way to go for what I wanna do. I wan't to create a link, and when a user presses the link it's creating another text box underneath with some text in. so ofcourse there'll be multiple link … | |
Dear All, First I have a combo box populated from mysql db. Then onChange of the first combo box then I would like to populate my second combo box. I am trying out the jquery method as below. The first combo box id is $clientID. The problem I dont get … | |
Hi there, I am new in web development. I think this problem is related to javascript. My javascript script is below which changes images after 2 sec. But when i call my start function in img tag in my third row div of my layout, it does not show images … | |
I'm developing a land use map and want to use Google Maps. Just want to ask if the Javascript API could actually handle overlays like this sample: [url]http://magellan.co.arlington.va.us/Maps/Standard_Maps/Planning_Maps/GLUP.pdf[/url] Or you would suggest other ways to do this? | |
Hi, I'm having a problem with selecting only the first child of my content tree. What I have is [CODE]<div id="Ft"> <ul class="Ft_colum"> <li><h3><a href="#">Home</a></h3></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> </ul> <ul class="Ft_colum"> <li><h3><a href="#">News</a></h3></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo … | |
Forums, i am using this plugin for twitter on my site: [url]http://tweet.seaofclouds.com/[/url] i am trying to figure out how i can go about formatting the dates(the about three hours ago from web thing) to something like this mock up: [url]http://elneco.biz/sampleStyle.png[/url] i got everything else looking great! just need help with … | |
Hai Guys, I need an urgent HELP and i'm willing to pay for this simple problem :) Please take a look at the problem by clicking [URL="http://www.facebook.com/pages/EZ-Commerce-by-BlackMarket/185356521505034?v=app_4949752878&ref=sgm"]HERE[/URL] Once you in, click on the button with the sign 'Click To Start Shopping' [B][COLOR="Green"]The problem is, the Flash doesn't load[/COLOR][/B] I bought … | |
Hello I'm having problems validating cloned elements. Apologies for the amount of coding posted but I thought I may as well put it in from the start. [B]This is a sample of the original div:[/B] [CODE]<div id="addDriver1" class="clonedInput"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="<?= $editDriver; ?>"> <tr> <td height="25" align="left" … | |
I have a textbox in which user can enter time (eg- 01:00) and also a drop down box for entering AM/PM fields. (Since the AM/PM field is used, 12-hour time format is used.) The text box allows a max entry of 5 chars only (eg - 01:00). 1) Pls let … | |
Hi I'm trying to find a tutorial that shows me how to create a popup page upon entry. The popup should save the user's cookie info and be big enough to display a user agreement which the user must click on to accept. Does anyone know of any tutorial showing … | |
Hi everyone, I am a complete newbie so please be gentle with me.If my question is silly and impossible please tell me I have followed a tutorial and made a slideshow on my webpage like the one here [url]http://demo.tutorialzine.com/2009/11/beautiful-apple-gallery-slideshow/demo.html[/url] I have used divs and same script. I am trying to … | |
Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); … | |
My form is like the above [CODE] <form method="post" name="publishResult" onsubmit="return g(this);"> <select id="options1" name="se1" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option value="A">A</option> <option value="A-">A-</option> <option value="B+">B+</option> <option value="B">B</option> <option value="B-">B-</option> <option value="D">D</option> <option value="F">F</option> </select> <select id="options2" name="se2" > <option value="0" >-- Grade --</option> <option value="A+">A+</option> <option … | |
Hi everyone! I am new in Web Programming. I want in my ComboBox to pop up a question everytime a user changes the combo box. It will ask, "Are you sure you want to update" then if the user clicks on yes it will be redirected to another page and … | |
hi i have created function that automatically adds rows with chekcboxes. i can create two button that one serves checking all checkboxes and the another one serves for unchecking rows. but i would like to check/uncheck all checkboxes with single checkbox. then i have created checkbox for the purpose to … | |
[CODE]document.getElementById('login').innerHTML += '<p><a href = "/<Project name>/<Servlet name>" onclick="sendRequest("/<Project name>/<Servlet name>", "uid=' + FB.getSession().uid + '", AJAXresult, "post")">Recommend me a movie!</a></p>';[/CODE] The code above works fine outside of the innerHTML. Is there something wrong with the code above? | |
how can I make menu like tool in visual studio when hover on it. it will show the rest of menu to the right. | |
hi all this is my first query plz help me, i have one page which hv two ifrmaes,parent iframe contains no of child ifrmae.now oncliking child iframe check box ,i hv to get that value into parent iframe,i managed to create array of parent iframe but can't get child ifrmae's … | |
Is there some way I can loop through this code? using Ajax? Thanks for any recommendations. [CODE] <?php $paintingBack=$paintingNumber-1; $paintingNext=$paintingNumber+1; if ($paintingBack < 1) { $paintingBack = $paintingBack + 1;} ?> <a href="" id="link1" class='link'><img src='images/braceL.gif' alt='brace' width='20' height='11' valign='text-bottom'/></a> <script type="text/javascript"> var l = document.getElementById("link1"); l.onFocus = function() { … | |
Hi there, in twitter and facebook when some of your friends/follows makes new post, your page gets updated via ajax. any ideas how it is implemented? i need the best concept/idea, not the code :] thnx in advance |
The End.