15,120 Topics

Member Avatar for
Member Avatar for zaki

I have a code that I call from `Button_click` event. The code adds a new row to the table and attempts to add onclick element to every td element in the new row. Somehow, onclick does not work. Any help is appreciated. Here is the code: function insRow() { var …

Member Avatar for giveitarip
0
3K
Member Avatar for McFae

I'm stuck on this project and not sure what's going wrong. I need to return the temp conversion of a users input on click. Any help would be appreciated. [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" lang="en" xml:lang="en"> <head> <title>Temperature Converter</title> <script type = "text/javascript"> <!-- …

Member Avatar for McFae
0
105
Member Avatar for baseballfury

I am currently using a anylinkmenu in my website but for some reason it is not showing in IE9. The menu works and you can click on the links but the images aren't displaying. Does anybody know if there is an image display compatibility issue in IE9 please. Best Regards, …

0
107
Member Avatar for Nfurman

hello, iam very new in jQuery. Need help asap please. on my asp.net page I want to use two jQuery functions. 1. Clears textBox when user clicks on it. 2. Clears all inputs when user clicks on btnCancel button. I made two functions [CODE] //clears value from onclicked input $(document).ready(function …

Member Avatar for pritaeas
0
130
Member Avatar for tcollins412

i am using the following code to submit a form: [CODE] <script> function marktaskcomplete(){ document.forms["markcomplete"].submit(); } </script> <? if ($_POST['markcompletevalue']=='yes'){ include "dbconnect.php"; $taskid=$_POST['taskid']; $query="UPDATE tasks SET status='0' WHERE uid='$id' AND id='$taskid'"; $result=mysql_query($query); if ($result){ echo "<script>location.href='?goto=taskmanager'</script>"; }else{ echo"fail"; } mysql_close; } ?> [/CODE] and when i try to submit more …

Member Avatar for tcollins412
0
242
Member Avatar for Violet_82

Hi there, I have added a validation script to this page [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] but it is not working the way I want it to, I am sure I made some silly mistake. Basically I want to make sure that people actually input something in the form below before submitting it. If …

Member Avatar for tcollins412
0
206
Member Avatar for keykan

I'm using elRTE editor. but i don't want to use default elRTE menu. i built a graphical and favorite menu with anchor tags and css in my HTML page. my menu is on the top of my page and my editable area is in the middle of the page (i …

0
41
Member Avatar for brechtjah

Hi, I'm creating the layout for a dynamic webshop, all pictures are getting dynamic IDs to have their elements changed. I'm currently having errors with the code below and have no idea why. the argument id is not null, however document.getElementById(id) is. I don't understand how that can happen :S …

Member Avatar for nagendrage
0
144
Member Avatar for anirban1087

Hi, I am working on a php form where, I have 5 [B]rate[/B] , 5 [B]quantity[/B] & 5 [B]amount[/B] fields. The user will make entry on amount & quantity fields, and onchange the amount fields will be calculated, I also have a TOTAL field which will also be calculated from …

Member Avatar for anirban1087
0
199
Member Avatar for azegurb

Hi all. I have script that use two arrays. It pushes original array values to the newly created array. it dont pushes into new array duplicate values. for Ex; the orginal array is [B]var arr=['one','two','three','three'][/B]new array will be var newArr=['one','two','three'] the second three will not copied. but one disadvantage is …

Member Avatar for azegurb
0
102
Member Avatar for fazdhli

hi, i need help from you ^^ i don't now how to add java script into this programmed. the result should be come out with "you are interested in: (either one or all check box they click)". i hope you guys can help me on this. Thank you ^^ [CODE]<html> …

Member Avatar for fazdhli
0
201
Member Avatar for red_ruewei

Hi all, Sorry if I post same thread. I cannot find any similar post to handle my problem. I manage to show/hide tables(which I put on DIV tag) by using 2 radio button which is Kes and Lot. But I'm having problem by starting click on either Kes and Lot.The …

Member Avatar for red_ruewei
0
158
Member Avatar for samsons17

Hi all :) I want to make the toggle button so that it will [B]display the specific hidden container[/B].. for the example let say that i got all of these list of containers : [CODE] <div class="post_header"> <div class="post_toggle">Show Post</div> </div> <div class="post_container"> <div>post content 1 goes here..</div> </div> <div …

Member Avatar for Taywin
0
100
Member Avatar for samsons17

Hi all :) I basically want to use the .append() data to append the data that I got to the selected div. this is variable that i've declared [CODE] var li_template = '<div style="display:none" class="load_reply"><div class="reply_img"><img src="status/blankSilhouette.png" /></div><div class="reply_text"><a href="#" class="blue">Test Name</a><p class="tex">%s</p><div class="date">%r &middot; <a href="#" class="light_blue">Like</a> &middot; <a …

Member Avatar for Taywin
0
172
Member Avatar for andrewliu

Hello, I have these div tags, they're very similar but I just need to change the IDs. Is there anyway to condense this code? [CODE] $(document).ready(function(){ //Full Name var changeName = $('#changeName'); var cancelName = $('#cancelName'); var fullnameDisplay = $('#fullnameDisplay'); var fullnameChange = $('#fullnameChange'); var helperName = $('#helperName') changeName.click(function(){ $(this).hide(); …

Member Avatar for andrewliu
0
153
Member Avatar for Andybster

On a recent project, I decided to make use of Ajax to make a dynamic Shopping cart. When a user adds to their basket, the basket decends from the top of the screen and displays their contents. Each item [B]should[/B] show a small thumbnail image on each line which it …

Member Avatar for SolidSolutions
0
115
Member Avatar for abhi10kumar

How I can write down a code which uses two Two AJAX-es in combo-boxes? For [B]Country[/B], when user clicks Country combo-box, [B]State Combo-box[/B] will fetch with respective Country, and if when user clicks [B]State combo-box[/B], [B]cities Combo-box[/B] will fetch with respective State. All data will came from database. I successfully …

Member Avatar for happytogether
0
196
Member Avatar for thijscream

i'm having 2 select boxes, if i change the first one i would like a 2nd select box to change the content, everything is comming from a database. not xml because i want everything to be stored in a database for. is this possible with an onchange command or something? …

Member Avatar for thijscream
0
113
Member Avatar for rajeesh_rsn

I made a simple slide show using jquery and "setInterval() " function. Everything working fine but I just need to start this serInterval function only after the div or page loads completely. I will post my code here ... [ICODE] 1. $(document).ready(function () { 2. var s=setInterval('slide()',3000); 3. }); 4. …

Member Avatar for Airshow
0
111
Member Avatar for f_atencia

Say I have 2 input fields, both containing dates with the format (dd mmm yyyy), for example, 07 Mar 2010 (Yes, there is a space between date, month and year). Well basically I need the second input box to calculate 60 days (not 2 months) after the first text box. …

Member Avatar for Taywin
0
75
Member Avatar for coervivekmca

I need to learn ajax can i have some material to learn...plz send me or give me useful link to download some materail

Member Avatar for Fortinbra
0
88
Member Avatar for armageddon11

Hi all. Can anybody point me in the right direction as to how to implement the editor that opens up when I click Start new thread or post reply? Also when displaying the replies how is the feature with syntax highlighting and indentation for the code snippets implemented ? Thanks.

Member Avatar for Taywin
0
250
Member Avatar for idlackage

I'm just trying to output a value, but whenever it gets to "var max = tb1.value;" it stops working. I can't find out what's wrong with my code. [CODE]<html> <head> <script language="javascript" type="text/javascript"> var tb1 = document.getElementById('textbox1'); function output() { var max = tb1.value; document.write( max ); } </script> <title>asd</title> …

Member Avatar for six_sic6
0
302
Member Avatar for simplypixie

I have js on a form page for users to be able to select all check boxes for classes to enter in a dogs show but I want to be able to offer the facility to select just classes on specific days as well and I don't know how to …

Member Avatar for Taywin
0
144
Member Avatar for shainjetly

hey everyone, first i will show u my code pages. addcart.php [CODE] <?php require_once("../Connection/connection.php"); if(!$_POST['img']) die("There is no such product!"); $img=mysql_real_escape_string(end(explode('/',$_POST['img']))); $q_result=mysql_query("SELECT * FROM tbl_items WHERE item_photo='".$img."'"); $row=mysql_fetch_assoc($q_result); $period = $_POST['period']; $count = $_POST['count']; $query_search1 =("SELECT * FROM `tbl_rates` WHERE `rental_period` = 'Daily' AND `units` = '10' AND `category_id` = …

Member Avatar for Taywin
0
256
Member Avatar for yenyen

hie there..i m using tis embeded media player in my web. but, how can i provide checkbox for each song and then let the user play the multiple songs together using tis code? the music file format are .wma, .mp3 or .midi.... plz help me...thank you [code] <embed type="application/x-mplayer2" id="music1" …

Member Avatar for Scyntrus
0
553
Member Avatar for cjay175

Hi all, I am at a stand still with trying to figure this out. I have a textarea, i would like to check for links entered by users and replace/remove the anchor attribute from the string. ie. change [ICODE]<a href='google.com'>website</a>[/ICODE] to [ICODE]website[/ICODE] its more so to validate ( i have …

Member Avatar for cjay175
0
91
Member Avatar for luisthedude

Hello I am currently working on a project but I am currently stuck, what I'm trying to do is add a simple PHP site hit counter to an ajax site which counts the # of visits to an specific page, now I gotten the pages to show up and they …

Member Avatar for diafol
0
490
Member Avatar for wHiTeHaT44

Hello @all , for several days i try to create a nested-ist generated by jquerymobile from websql querys. I can only master the code to show all parents and children in 1 single list. However of course, i want to have each child to its parent. I would appreciate any …

0
88
Member Avatar for Amr87

Hello Everyone; I`m Beginner Javascript Developer and I Have a small problem with parseInt method the code is below: [CODE] <script type="text/javascript"> window.onload = Rectangle; function Rectangle () { var e = document.getElementById('Rectanglee'); var w =parseInt(e.style.width); var h =parseInt(e.style.height); alert (w); alert (h); } </script>[/CODE] the code is supposed to …

Member Avatar for Taywin
0
143

The End.