15,120 Topics
| |
In JavaScript (preferably jQuery) how could I create a new element and set its values, but I want it in a specific place In the document. My divs are structured like this : [code]/* container item [item to be created inserted here] */ [/code] I know how to do this … | |
Ive been working on a web map application with OpenLayers as a client side library, geoserver and Postgresql as database.I am a newbie in OpenLayers and javascript as well.I need to commit the features added on the map into the database.Is there a way i can specify the table in … | |
Hello, i need to list all menu items on page load, now it's on mouseover anyone can help? [CODE] <a href="home.php?cat={$catid}" class="arrow" onmouseover="javascript: return switchSubcatLayer(this);"></a>[/CODE] | |
I want to be able to enter multiple addresses for customers but only show one on the initial customer form, with the others being added when they press a 'add another address' button. I can get this to work by putting the 'add another address' button at the bottom of … | |
On the 'Edit Profile' page of my eCommerce Wordpress Theme ([url]http://www.projectdisobey.com/disobeyclothing[/url]), no error message appears when I do any of the following in the ''New Password' and 'Confirm New Password' text fields: 1. 'New Password' and 'Confirm New Password' do not match. 2. 'Confirm New Password' field is left empty. … | |
Hi, I am new in jquery. I am working on a registration page.I did all the validation but facing problem during username validation. when a user enter email id in the textbox,it first check whether it is present in database or not.. if not present "register successfully" otherwise "email exists" … | |
I want to make a form it can insert or delete new textfield by click a button. Do any one have some ajax script can do it? | |
Hi, I have several hundred html links in a file "main.html" pointing to external websites. ie: "external.html" When a user clicks an external link from within "main.html", I want to bring up "external.html" in all its glory, but with a banner / header across the top (I am guessing iframe … | |
| Hi, I made my own javascript method that I'd like to integrate into the JQuery validation plugin. I am new to JQuery and I'm not really sure how to integrate it though... Here is my javascript [B]working[/B] method: [CODE] function doAjax() { var captchaResponse = document.getElementById("registerCaptcha").value; $.ajax({ type: "POST", url: … |
Hi i am getting state 0 error on XMLHTTPRequest. I am using POST method to get some information from a link hosted by the client. I am calling from a mobile application. I have added a html file in an android application and from that html file i am calling … | |
My Jquery dual list box isn't working when I call a page via ajax. But if I navigate to the page, the Jquery works. I've used the .live code but that doesn't seem to work. Any suggestions. The below code, I thought would work, but it doesn't. [CODE] $(function(){ $('.button').live('click', … | |
Guys i was loading google.com in iframe till now!!! but from 2 days its not loading!!!!! any suggestions , and if theres any alternative to iframe please let me know . Thanks. | |
when we access a page if it is idle for sometime automatically it should redirect the page automatically .if in btwn mouse on click i done then reset the time again . here is my code <html> <head> <title>Session Timeout Warning</title> <script> function settime() { alert("hi"); setTimeout( 'ShowTimeoutWarning();', 120000 ); … | |
when we access a page if it is idle for sometime automatically it should redirect the page automatically .if in btwn mouse on click i done then reset the time again . | |
when we access a page if it is idle for sometime automatically it should redirect the page automatically. if in btwn mouse on click i done then reset the time again. here is my code <html> <head> <title>Session Timeout Warning</title> <script> function settime() { alert("hi"); setTimeout( 'ShowTimeoutWarning();', 120000 ); } … | |
I want to reorder the rows by dragging them which is accomplished by the code below, but the void (placeholder) should be of a red color while the drag is taking place - this part is not happening : [CODE]<html> <head> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript" src="jquery.ui.sortable.min.js"></script> <script> $(function() { … | |
The following request isn't retrieving a response when I look for it in Firebug. Any ideas why? [CODE]$function(){ //json request to flickr $.getJSON('http://api.flickr.com/services/rest/?&method=flickr.photosets.getPhotos&api_key=71282ef5623d61a898f798c7916bed31&photoset_id=72157627882181032&format=json&jsoncallback=?'), });[/CODE] | |
Hey, I currently have a link that links to a different part of the same page using <a href="#title"> which is defined using <a name="#title">. It all works fine but when clicked it adds #title to the end of the URL and when the user clicks the back button it … | |
Hello all, My first problem is that I would like to refresh a DIV tag on the same page using href onclick handler. Currently I can't seem to get this to work with the code I've developed. My second problem is that once this works for one DIV I would … | |
I trying to display a random number using innerHTML Here's my code: [code]<html> <head> <script language="JavaScript"> var myArray = new Array("String1", "String2", "String3", "String4", "String5", "String6", "String7", "String8", "String9", "String10"); var num = Math.floor(myArray.length * Math.random()); document.writeln(myArray[num]); //document.getElementById("myString").innerHTML = myArray[num]; </script> </head> <body> <div id="myString"></div> </body> </html>[/code] it works when … | |
Hello guys, im a PHP system programmer. My javascript/ajax skills are very limited. What i need to do is updating a div tag whenever an XML file updates. And if you cant help me with that i can do with just updating a div tag with PHP script inside every … | |
First of all sorry for my bad thread title, really didn't know how to name it. I am wondering how to make a following banner to another page. e.x: When somebody clicks a link from my webpage to show the link with my extra code. Like this alexa banner up … | |
Just something small and I'm not sure how to do it. What I want to do when the user cannot be found in my DB then it should: 1. Print out -I wanted to use a pop-up to inform the user that he has entered incorrect log in details. Which … | |
Second post on this project ... I am working on a bowling scoring system for a non-profit. They would like to be able to enter up to 9 games worth of scores into a form and have the shot results and game scores captured in a database. I have accomplished … | |
I am working on a bowling scoring system for a non-profit. They would like to be able to enter up to 9 games worth of scores into a form and have the shot results and game scores captured in a database. I have accomplished the scoring part with an html … | |
[CODE] <script type="text/javascript"> var divs = ["div0", "div1", "div2", "div3",]; //var divs13 = ["div1", "div3"]; function visiblox(arrDiv, hs) { var disp = (hs) ? "none" : "block"; for(var x = 0; x < arrDiv.length; x++) { document.getElementById(arrDiv[x]).style.display = disp; } } function chk(what, item) { if(item) { visiblox(what, false); } … | |
hai iam new to this domain. iam developing online quiz contest project in php (mysql,javascript,ajax) i need Automatic session timeout/logout and also i need time counter display using php and AJAX. pls refer any website. i searching for last 2 days.. advance thanks.. | |
hi, I use an image button to post a form. Let's say the button is on A.php and form target is B.php. when clicked, B.php comes but with extra arguments in the url. As far as I understand they are the coordinates of the point I clicked on the button … | |
hi guys! Thus anyone know how to put timer in bubble sort using javascript??? I am trying to make a timer for my sort but I can't make it. I don't know how to connect... heres my work.. <html> <head> <title>sortBubble</title> </head> <script> <!-- Begin var myArray = new Array(102,201,3,517,77,345,68,234,8,9,4,517,6,0) … | |
Hi, I have a div element which have a lot of other divs inside. Inside that divs are also div elements. Now, how can I change width of every div element inside wanted div using jquery (all levels of children). Example [CODE] <div id="1"> <div id="2"> <div id="3"> </div> </div> … |
The End.