15,120 Topics

Member Avatar for
Member Avatar for Matthew N.

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 …

Member Avatar for Matthew N.
0
173
Member Avatar for Voldemort2

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 …

Member Avatar for Voldemort2
0
87
Member Avatar for mamari

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]

0
52
Member Avatar for johnniegee

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 …

0
61
Member Avatar for harveylester

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. …

Member Avatar for harveylester
0
153
Member Avatar for jacob21

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" …

Member Avatar for Agarsia
0
3K
Member Avatar for erik216

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?

Member Avatar for Agarsia
0
97
Member Avatar for mtemp

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 …

Member Avatar for Agarsia
0
138
Member Avatar for feoperro

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: …

0
123
Member Avatar for vinod.meee

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 …

Member Avatar for Airshow
0
72
Member Avatar for danarashad

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', …

Member Avatar for danarashad
0
232
Member Avatar for deceivingrakesh

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.

Member Avatar for Macko888
0
66
Member Avatar for spsree

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 ); …

Member Avatar for MartinRinehart
0
67
Member Avatar for spsree

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 .

Member Avatar for lps
0
55
Member Avatar for spsree

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 ); } …

0
45
Member Avatar for daudiam

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() { …

0
139
Member Avatar for bspace

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]

Member Avatar for Airshow
0
94
Member Avatar for toms ace

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 …

Member Avatar for toms ace
0
2K
Member Avatar for inspireddesign

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 …

Member Avatar for okansari
0
877
Member Avatar for hiyatran

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 …

Member Avatar for MartinRinehart
0
90
Member Avatar for Sorcher

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 …

Member Avatar for Airshow
0
113
Member Avatar for Bedjovski

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 …

Member Avatar for Bedjovski
0
98
Member Avatar for phfilly

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 …

Member Avatar for phfilly
0
249
Member Avatar for jshenn

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 …

Member Avatar for jshenn
0
2K
Member Avatar for jshenn

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 …

Member Avatar for jshenn
0
161
Member Avatar for s0bean

[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); } …

Member Avatar for Taywin
0
127
Member Avatar for cskinittest

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..

Member Avatar for Taywin
0
212
Member Avatar for mehmedean

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 …

Member Avatar for mehmedean
0
386
Member Avatar for gujinni

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) …

Member Avatar for MartinRinehart
0
150
Member Avatar for aldm

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> …

Member Avatar for MartinRinehart
0
238

The End.