15,127 Topics

Member Avatar for
Member Avatar for jonow

I am using [URL="http://musicplayer.sourceforge.net/"]XSPF Web Music Player[/URL] slim, and whenever I put it into a web page and play it using Google Chrome or Safari the song starts playing twice. When i press the pause button one instance of the song keeps playing while the other keep going without any …

Member Avatar for jonow
0
292
Member Avatar for qnstner

Hi! I have a bunch of variables that collects data from an external source. Each variable retrieve data from different locations. I want to pass all this data to either a table or to options in a select box. Can only the data who has been changed be updated? If …

Member Avatar for qnstner
0
98
Member Avatar for jino

Hi all, How can i get the value of a specific text in a select box. example 16 of text OEC using jquery, I am not getting the value correctly <select name="categories" id="categories" class="validate"> <option value="0" selected="selected">&lt;--select one--&gt;</option> <option value="57">OBC</option> <option value="16">OEC</option> </select> I had tried For example something like …

Member Avatar for furutani
0
81
Member Avatar for prakash.pipil

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <?php $_REQUEST["chkhob"]; if(isset($_REQUEST["btnsubmit"])) { $choise = array("cricket","football","polo","tennies"); foreach($choise as $key => $val) { //var_dump($_REQUEST["chkhob"]); if(in_array($val, $_REQUEST["chkhob"])) { $chkbox[$key] = "CHECKED"; } } $result = implode(" , ", $_REQUEST["chkhob"]); echo "Your Hobies: $result"; …

0
53
Member Avatar for Philip435

Hey i need some help, ive done a javascript that will create a small popup when the user a link, just like the one on this forum when u touch a thread and you can read a small part of it. this is the code and my problem is that …

Member Avatar for shanyuva
0
83
Member Avatar for sweisern

Hey all you AJAX masters, Here comes a long post but I know someone out there knows what's wrong here.... I have no idea why the following script doesn't work but I think I have isolated the problem. I have an 'order form' page (that calls this script) that generates …

Member Avatar for sweisern
0
98
Member Avatar for statutoryape

Hi all, Here's the code I've come up with. I deliberately left off an expiration date since I want the cookie to expire when the browser is closed. [CODE]<html> <head> <script type="text/javascript"> function setCookie(name,value) { document.cookie=name+"="+value; } </script> </head> <body> <a href="#" onClick="createCookie('Role',Parent)";>Parent</a> <a href="#" onClick="createCookie('Role',Student)";>Student</a> </body> </html> [/CODE] I've …

Member Avatar for statutoryape
0
2K
Member Avatar for bazaboo

I need to be able to modify the Yahoo maps Ajax API to fill the javascript cities array from my Access database. var cities = [ {name: "3909 N. Ocean Blvd Fort Lauderdale", pop: "7.554.236"}, {name: "Bimini Bahamas", pop: "115.918"}, {name: "Scottsdale Arizona", pop: "587.891"}, {name: "Stamford", pop: "A-1 ALUMINUM …

0
50
Member Avatar for hajjo

I have in javascript a text say I am an idiot I want to do it. "I am...." and on mouseover it shows up I am an idiot. How can I do it?

Member Avatar for me655321
0
92
Member Avatar for rukshilag

please help write a javascript function to do a client side validation of the html form i have displayed below. the validation should check if input box Student No cannot be empty; if the txtStdNo box is empty there should be a message "Cannot be empty" and move the cursor …

Member Avatar for me655321
0
100
Member Avatar for keval007

function checkalpha(e) { var a=e.keyCode; if(!((a>=65 && a<=90) || (a>=97 && a<=122))) { e.keyCode=0; } } The above function work well in internet explorer for checking characters only in name but same code not working in Mozila Firefox please give me solution

Member Avatar for me655321
0
92
Member Avatar for hajjo

[url]http://www.mattkruse.com/javascript/mktree/[/url] I have tree like that style. I want on node click, to show word loading below the node clicked until new nodes are opened..anyone know how to do this?

Member Avatar for me655321
0
101
Member Avatar for Razorholt

Hello everyone, I'm trying to customize the popup menu based on which table I right-click on. I have disabled the right-click function on the page except for the tables. I did this on purpose. This web page will be called from a python software, using the IE activeX, so no …

Member Avatar for Rajivgandhi
0
351
Member Avatar for Alec_S

Hi I'm struggling with JavaScript. I've found this bit of code: [CODE] //Get which URL was clicked on function getEvent (e) { var event = e || window.event; if( ! event.target ) { event.target = event.srcElement; } return event; } Run the function with code like this: <a href="#fred" id="fred" …

0
51
Member Avatar for iamchamith

Hi I want pass multiple values javascript to asp.net(C#) server side... how i do it using array ?? don't using hidden fields... thanks

Member Avatar for Oxiegen
0
174
Member Avatar for rukshilag

Please help me with my follwing code. this can only check if username textbox is empty. how do i also make it so that it checks if password textbox is empty and thereby give an error??? please help. [CODE] <html> <script type="text/javascript"> function validateFormOnSubmit(strng){ if(strng.value=="") { alert("Empty"); return false; } …

Member Avatar for Atli
0
83
Member Avatar for feoperro

Hi, I have an ajax script that sends a request to a servlet for information to be inserted into a table cell. The servlet then handles the request and replies with something like this: (I took the liberty of removing all the out.println tags) [CODE] <script language='javascript' src='whiteWine.js'></script> <table align='center' …

Member Avatar for feoperro
0
132
Member Avatar for ruwanaru

In this the JS Codes (in the code tag)are not working only in this page can any one help me on this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Luxmi Lanka</title> <!-- InstanceEndEditable …

Member Avatar for ruwanaru
0
119
Member Avatar for ruwanaru

This is my codes [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript" src="js/mootools.js"></script> <script language="javascript" type="text/javascript" src="js/getchqno.js"></script> </head> <body> <script type="text/javascript"> function buildSelect(select, options) { var select = $(select); select.empty(); options.each(function(item) { if($type(item) != "array") { item …

Member Avatar for ruwanaru
0
167
Member Avatar for grv_

Hi, I am making a small image annotation tool for research purpose. I have many images shown to a <user> and the person has to click on the image to enter further information about the image. I would like to POST information about the <user> which is same for all …

Member Avatar for grv_
0
100
Member Avatar for JRM

I have found Javascript to be the most difficult language to find useful and CORRECT info on. Afterr working for several hours looking at various sites, I'm still somewhat stumped. All I know at this point is that these is a difference in the array formatting between PHP and JS. …

Member Avatar for JRM
0
339
Member Avatar for Chad Gary

I have the following html form where the user enters username and password. I'm using ajax to send the values to a php page and in return depending on what the username and password is the php page sends a request back. It send a T if the username/password combination …

Member Avatar for Atli
0
104
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Member Avatar for peter_budo
0
128
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Member Avatar for feoperro
0
221
Member Avatar for jino

Hi all, I am not getting the tinymce edit textarea in an html page that is generated by ajax. I am calling the ajax using jquery. I have kept the tiny_mce.js file on the page that is generated via ajax. The path is correct but am not getting the page …

Member Avatar for jino
0
1K
Member Avatar for EPierre

I'm working on this since 3 days, grabbing the web looking after ideas. Hope someone faced this problem and solved it. All is about a picture site Here how it's doing: There are about 15 items with different options offered to the customers. A combination of size, number of figures, …

0
61
Member Avatar for daveo1001

I work for masterclock. we sell network synced clocks and timing systems. One of our products is a "bell ringer." We currently control this ringer through a C++ program another one of our employees made. However, it only works on Windows systems, looks like crap, and is as confusing beyond …

Member Avatar for JRM
0
108
Member Avatar for JRM

Hello, I'm a neophyte to Javascript, but I need it to dynamically add lines to a form. I was able to cobble together this inelegant looking code below. It adds the row when called, but there are more attributes needed for this to be correct for the application. 1) need …

Member Avatar for JRM
0
130
Member Avatar for girl.java

hello everyone could u please solve this for me Write embedded JavaScript code in the required HTML tags that accepts three numbers from the user and pring out the maximum as the following result : First Number is : 3 Second Number is : 4 Third Number is : 5 …

Member Avatar for girl.java
0
100
Member Avatar for ruwanaru

What i need is Toggle the each div with the relevant check box ex:- when i checked "[B]div1chk[/B]" i want to toggle "[B]div1[/B]" [CODE] <input type="checkbox" id="div1chk" /> <input type="checkbox" id="div2chk" /> <input type="checkbox" id="div3chk" /> <div id="div1"> div1 showed </div> <div id="div2"> div2 showed </div> <div id="div3"> div3 showed …

Member Avatar for terrial
0
125

The End.