15,116 Topics

Member Avatar for
Member Avatar for daneuchar

This code is working perfectly in Chrome and Firefox but i am unable to work it out in IE can some help me out with this [CODE]<form name="login" method="post" id="login_form"> <div class="form_back"> <input name="text" type="text" id="username" /> <input name="text2" type="password" id="password" /> <a href="" onclick="$(this).closest('form').submit(); return false;" class="login"><div id="login_button"></div></a> </div> …

Member Avatar for daneuchar
0
94
Member Avatar for luke noob

i have a form with some hidden fields..... index.php page.... [code="php"] <form id="addReplyForm" method="post" action=""> <input type="text" id="target" name="commentreply" /> <input type="hidden" id="session_id" name="session_id" value="" /> <input type="hidden" id="page_id" name="page_id" value="" /> <input type="hidden" id="firstName" name="firstName" value="" /> <input type="hidden" id="lastName" name="lastName" value="" /> <input type="submit" id="submitReply" value="Reply" /> </form> …

Member Avatar for thejimgaudet
0
241
Member Avatar for MoreBloodWine

See my demo page for where I have it working on an img src but not an input which is what I really want. Here's the link to my testing / demo page: [url]http://www.myu2sig.com/stellardonations/buttontype.php[/url] As for what I want to do, how can I apply the function to the input …

Member Avatar for MoreBloodWine
0
139
Member Avatar for Buppy

Hi, I have a HTML that looks something like this: [CODE] <form name="form1" method="post" action=""> <select name="name1" id="id1" onchange="someJavaScriptFunction(somearg1,somearg2)"> <option style="" value="a0">a0</option> <option style="" value="a1">a1</option> <option style="" value="a2">a2</option> </select> </form>[/CODE] What i need to do is execute the onchange event outside the form, so i don't have to write it …

Member Avatar for ko ko
0
67
Member Avatar for PeterWaij

I am trying to implement a code to hide and show divs with a radio button. If yes is selected i want to show the divs. If no is selected i want to hide them. It sounds simple enouth but i can't figure this out. Can someone please advise. Here …

Member Avatar for PeterWaij
0
135
Member Avatar for Clarkeez

Hey. I'd like someone to point me in the right direction. Basically, my work website shows data from a MySQL db. If a new line of data is added in the DB, the user has no way of knowing that it has gone in until they have refreshed. Now, its …

Member Avatar for thejimgaudet
0
236
Member Avatar for marieannevi

I have the following code: [CODE]window.addEvent('domready', function() { $$('.navigation li a').each(function(el) { var fx = new Fx.Tween(el, { duration: 200, link: 'cancel' }); el.store('prop', el.getParents('ul')[0].id.contains('splash') ? 'padding-right' : 'padding-left'); el.addEvents({ 'mouseenter': function() { fx.start(el.retrieve('prop'), 3); }, 'mouseleave': function() { fx.start(el.retrieve('prop'), 0); } }); }); }); window.addEvent("domready", function() { $('splash-img').fade('hide'); $('splash-navigation').setStyle('right', …

Member Avatar for marieannevi
0
79
Member Avatar for xylude

I spent some time this morning trying to figure this out, and finally did. I thought I would share: [CODE]$('body').click(function(event){ //You can swap .attr('class') with whatever and it probably will work. Nested divs may return the top parent's class, so you may need to fool around with it some. If …

0
63
Member Avatar for Aamit

Hi, I am using IE8. I am trying to set value for check_id but it not working in IE8. but works in firefox. [code] <script type="text/javascript"> function check_test() { var new_url="http://www.abc.com/xyz.php?id=5"; alert(new_url); document.getElementById("check_id").value=new_url; } </script> </head> <body> <form name="mod_frm" method="post" id="mod_frm" action="<?php echo $self;?>" > <input type="radio" name="pkg_name" value="1" class="styled" …

Member Avatar for Baradaran
0
168
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Member Avatar for javaAddict
0
296
Member Avatar for Acute

Hi, in Gmail (I've noticed it in other services too..)after you log in, progress bar appears. What does it do? Uploads all the JS(containing ajax) files into client's machine? or what?:) Thnx!

Member Avatar for Graphix
0
50
Member Avatar for akhil9

frnds i started working on websites...and i want to learn java script which can be used to build menubar and other content....so as a starter whats the best way that i can focus to learn the things very fast because i need to show up my work.... better sites to …

Member Avatar for Graphix
0
219
Member Avatar for pradeepktg

Hi All, I want to know how to avoid inserting multiple records. Below is my case; (1) I have a jsp page - when a timer for a particular product reaches 3 mins, i am getting that particular productid and sending the productid through ajax (2) in the ajax script, …

Member Avatar for Graphix
0
74
Member Avatar for saintrenz

i think this one will appear in our finals but no one seems to help me.. always getting error.. a 3 radio buttons and will appear the result on alert or popup? something like YOU SELECTED: "___"

Member Avatar for Graphix
0
26
Member Avatar for kesh1000

hi guys. im using this script to convert information to its md5 equivalent. smhow im not able to make it work.plz help as towhy its not workin. here my code to test the function. [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" /> …

Member Avatar for Graphix
0
210
Member Avatar for omaiaa0p

Hello All, I am a beginner to javascript and would like to learn how to call a function which I implemented, called random, two times, with two seperate div buttons. I have tried several times to de-bug the code, somehow it still does not work. My question : Does it …

Member Avatar for Graphix
0
4K
Member Avatar for jeffcogswell

The other day Google announced a new API console to simplify working with their various APIs. These APIs are basically REST-based calls into the Google servers where you connect through a URL, passing different parameters in the URL itself, and get back a response. The response comes back as either …

Member Avatar for 360anish
1
519
Member Avatar for SunnySideUp

Hi, I am trying to get a live search facility working but my code is not working, I was wondering if someone could help me out and see if there are any mistakes or things I can change: Index.php [CODE] <form id="jobSearch" method="get" action=""> <input type="text" id="searchJobs" class="JobSearchBox" name="z" onkeyup="showResult(this.value)" …

Member Avatar for SunnySideUp
0
217
Member Avatar for omb70

I have created a transparent flash video (virtual spokesperson) for my website. For demoing purposes, I would like surfers to be able to have this movie appear on any desired website of their choice. On my site, I would like the surfer to be able to type in a URL, …

Member Avatar for omb70
0
85
Member Avatar for nettee

I am very new to js, getting very confused. I need three button's on the bottom using onclick.First button - change color scheme, second button - different color scheme and the third button - needs to return back to the original color scheme. thank you inadvanced [CODE]<html> <head> <title>My Table …

Member Avatar for nettee
0
80
Member Avatar for mark2326l

This works in every browser I've tested except IE My .js [CODE]document.getElementById("location").innerHTML = object.city;[/CODE] My html [CODE]<div id="location" class='text1' ></div>[/CODE] I've spent hours searching the web, but have found no solution. Any advise? Thanks

Member Avatar for samaru
0
105
Member Avatar for nikita.chandra

hi! in my project textboxes and radiobuttons are generating at runtime. And my problem is that i want only that textbox to be enabled if radiobutton in front of that text box is selected. name of each element is generating at runtime as number of textboxes is not fixed. please …

Member Avatar for steelshark
0
75
Member Avatar for djcrab

Having trouble with this assignment. Can someone help me out with this? I don't get it! For my assignment it wants me to create a constructor function name automobile w/ 5 properties. Assign the values of my car to each automobile property. Print to the screen. This 1st one is …

Member Avatar for hielo
0
107
Member Avatar for feoperro

Hi, How do you text-wrap something like this: [CODE] <table width="10%"> <tr> <td>IWANTTHISLINETOBEBROKENWHENITREACHESTHEENDOFTHECOLUMN</td> </tr> </table> [/CODE] Thanks, Ashton.

Member Avatar for feoperro
0
128
Member Avatar for kram54

i dont find to my error plese help me this code i using to loading to php array [CODE] while($newarray = mysql_fetch_array($query)) { $latt[$count] = $newarray['lat']; $lonn[$count] = $newarray['lon']; $userr[$count] = $newarray['user']; $count++; } [/CODE] this part my javascript code [CODE] var cout= <?php echo $count ?>; var lat = …

Member Avatar for pritaeas
0
229
Member Avatar for mshauny

Hi I made a browser game with php and a little bit of java script, the ask a random question, then i dynamically load answers as image links, which the participant should select the correct one, if it is then he will go to the link the image href points …

0
68
Member Avatar for Vidgie65

1) Create 3 gloabal variables named timeID, marqueeTxt, & marqueeOff. Set marqueeOff variable to true. 2) Have the browser run the defineMarquee() function when the page loads. 3) Create the defineMarquee() function. a) Populate the contents of the marqueeTxt array with all the elements from the document that belong to …

0
78
Member Avatar for gameon

hey i am using embed tag for video. now i want to change my embed src dynamically so i am using javascript but it does not work. here is my code: javascript-: [CODE] function playvideo() { document.getElementById("play").innerHTML='<embed id="id" src="./video/1.wmv" />'; } [/CODE] aspx-: [CODE] <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="playvideo();" /> …

0
55
Member Avatar for facarroll

I'm totally new to javascript and fairly new to php... so... I have a javascript login form that takes a users email and password, validates through a mysql database and gains entry to a folder that is protected by a htaccess file. This is set up to integrate with a …

0
72
Member Avatar for MoreBloodWine

[code] <script type="text/javascript"> function confirmation() { alert( "Please Confirm Before Proceeding !" + "\n\n" + "Display Name: " + document.forms["paypal"]["os0"].value + "\n" + "Donation Amount: $" + document.forms["paypal"]["amount"].value + "\n\n" + "Click Ok to Proceed or Cancel to Make Changes." ) } </script>[/code] Ok, here's what I would like done …

Member Avatar for MoreBloodWine
0
96

The End.