15,127 Topics

Member Avatar for
Member Avatar for dendenny01

How can I transfer the values inserted in <input type="text" name="num1"> to radio button <input type="radio" name="rep_num1" value="">On submit of form. Actuall when user insert the value or text in the textbox the value of the text box should replace or transfer to the value in radio button when user …

Member Avatar for Topi Ojala
0
273
Member Avatar for jackmaverick1

I've decided to try to create a small (very) game in Javascript + HTML, using the Canvas element. So far, its gone pretty well, but recently I started on bullets. This also has gone well. I've decided to try to implement a bullet-goto-mouse type thing. I know this uses trigonometry, …

Member Avatar for jackmaverick1
0
153
Member Avatar for rapidwein

**Bold Text Here** The included file is a code to make a quiz using javascript and radio buttons . When you finally submit , it shoudl print the question numbers for the correct answer in green and the wrong answers in red . But the code is not working properly. …

Member Avatar for rapidwein
0
2K
Member Avatar for vizz

my code -moz-transform:rotate(20deg); -webkit-transform:rotate(20deg); -o-transform:rotate(20deg); http://www.the-art-of-web.com/css/css-animation/ Is there any jquery code available?

Member Avatar for elbeato
0
68
Member Avatar for nirmal.k.2

Hi all, I have a problem with manipulating gridview with a textbox outside gridview but in the same form. My requirement is I have a gridview where cell[1] is quantity, cell[2] is a boundfield which shows the rate and cell[3] is discount and i have a textbox control outside gridview …

0
61
Member Avatar for momonq1990

Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> function del(delUrl) { var r=confirm("Are you sure you want to delete?"); if (r==true) { alert("Deleted record!"); document.location = delUrl; } else { alert("Delete cancel!"); } } </script> <a href='delete.php?id=$sysid' class='view' onClick='del()'> <img src='image/vie.png' …

Member Avatar for DavidAntaramian
0
170
Member Avatar for divyakrishnan

Hi.. Anyone please help me to find the duration between two date-times in following format? format is Date1="23-03-2012 04:25PM" Date2="26-09-2013 08:26AM" I want to find out the diffence between Date1 and Date2 in following format. The Result ="no of Years:no of Days:no of Hours:no of Mintues:no of Seconds"

Member Avatar for AleMonteiro
0
96
Member Avatar for simplypixie

I am using jQuery and Ajax for some areas of a site and I cannot for the life of me work out how to only submit the Ajax if the form is valid. For normal jQuery validation I am using jquery.validate.min.js like this: $("#po-login-form").validate(); This works fine. I then have …

Member Avatar for simplypixie
0
207
Member Avatar for dineshswamy

i dont know why my onreadystatechange function is not working var xmlhttp; var time; function init() { time=0; t=setInterval("timer()",1000); } function timer() { time++; } function sendrequest(v,qno) { if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 && xmlhttp.status==200) { alert("Came Inside"); postdata(v,qno); } } } …

Member Avatar for rotten69
0
73
Member Avatar for ak47carbon
Member Avatar for rotten69
0
133
Member Avatar for florin1

hello. I have this javascript <script type="text/javascript"> function buildMonthlyEntries() { var startDate = new Date(document.getElementById('datastart').value); var endDate = new Date(document.getElementById('dataend').value); if(startDate == "Invalid Date" || endDate == "Invalid Date") { return null; } var entryCount = (endDate.getMonth() - startDate.getMonth())+(endDate.getFullYear() - startDate.getFullYear())*12; var monthlyEntries = document.getElementById('monthlyEntries'); monthlyEntries.innerHTML = ""; for(var i …

0
52
Member Avatar for erik216

I want to make two dropdown list A and B dropdownlist A include a , b , c , d When dropdown list A selected A There will be show 1,2,3 in dropdown list B When dropdown list A selected B There will be show 4,5,6 in dropdown list B …

0
62
Member Avatar for silvertooth07

Hello, I'm having a problem using the jTable plugin. I'm fairly new to using jquery. Here is my problem: I have an database name reg and has fields (fname, lname.....avatar). What i want is to show the contents of the database using jTable. Now, I don't know how to display …

0
86
Member Avatar for pasterstroodle

The following code succesfully refreshes the #content div, but in doing so it clear the $name variable which is passed from a previous page. How can I reload the div without losing my variable? The following is the code in "thispage.php". Any help would be appreciated! <html> <head> <script> setInterval(function() …

Member Avatar for pritaeas
0
112
Member Avatar for srinidelite

var RE_SSN = /^[0-9]{3}[\- ]?[0-9]{2}[\- ]?[0-9]{4}$/; hello , i would like to know what is the meaning behind in these ^ ,[\- ],$ symbols??? and i would able to follow that the script logically verifying the format of text being entered!! i.e NNN-NN-NNNN... Thanks in Advance .. Srini.

Member Avatar for srinidelite
0
105
Member Avatar for jdgieschen

I've got a project I'm working on where people can search using checkboxes, sliders, and an input box. The search works, but I've got issues here, especially when using IE as the browser. Haven't even tried Safari and Opera. Even in Firefox, there are minor issues. First, the lagging of …

Member Avatar for jdgieschen
0
615
Member Avatar for 21122012

When user clicks on the calendar image, date can be chosen. If the text field changes, the date will be compared with $today with Javascript. If the date is earlier than today, a mesage will be shown. I did these codes and the message could not be shown when I …

Member Avatar for jkon
0
191
Member Avatar for momonq1990

Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> function del(delUrl) { var r=confirm("Are you sure you want to delete?"); if (r==true) { alert("Deleted record!"); document.location = delUrl; } else { alert("Delete cancel!"); } } </script> <a href='delete.php?id=$sysid' class='view' onClick='del()'> <img src='image/vie.png' …

Member Avatar for veedeoo
0
332
Member Avatar for artemisxx

I'm working on highlighting repeater row. And then when i click on another row, the previous row becomes unhighlighted. So it's working, but only for a split second. Once the modalpopup appears, the highlight is gone. By the way, i have a linkbutton in every row that makes the modalpopup …

0
145
Member Avatar for New-Reign

[CODE]<html> <head> <script> "use strict"; function hexidecimal() { var num = document.getElementsByName('number')[0].value; var hex = num.toString(16); alert(hex); alert(num.toString(2)); } </script> </head> <body> <form id="form"> <input type="text" name="number" /> <input type="button" value="Hex" onClick="hexidecimal();" /> </form> </body> </html>[/CODE] Above is the current code I have, I expect it to output the contents …

Member Avatar for New-Reign
0
87
Member Avatar for arbazpathan

hi all i have 2 textboxes in my code both of them have their individual textchanged event but the problem is that textchanged event of only first textbox is implementing

Member Avatar for Ancient Dragon
0
57
Member Avatar for thepanther

hi all im trying to make a quiz on this..here is my code but cant seem to get it to work Grrrrrrrrr ---------------------------------------------------------- it gives the user a mark on how he/she performed. This should be time limited and when finished should also display whether the given answers were wrong …

Member Avatar for thepanther
0
91
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

0
51
Member Avatar for P.manidas

I am trying to run an asp page with an external JavaScript file but it is showing error like this.... Error Type: Active Server Pages, ASP 0124 (0x80004005) The required Language attribute of the Script tag is missing. /ew-ii-as-8/testserverwithEJSF.asp, line 3 My both files are... TestServerWithEJSF.asp [CODE] <html> <head> <script …

Member Avatar for P.manidas
0
581
Member Avatar for titosd

I want to ask you If i want to check length from input, but when the user is add new line i want the length to decrease 2 chars for example this string : Hello World I want this string to be 12 chars, because Hello 5 chars + 2 …

Member Avatar for Airshow
0
60
Member Avatar for RachelR

Hello All, I'm trying to GET values from a DB table in JSON format through AJAX and then parse them into a JQuery List. test.php (partial) [CODE]while($row=mysql_fetch_assoc($sql)) $output[]=$row; print(json_encode($output)); mysql_close();[/CODE] JSON Format it Returns: [CODE][{"name":"1423 Peacock Haven"},{"name":"9835 Fredericksburg Rd"},{"name":"Test Project"}][/CODE] Following along with [URL="http://www.roccles.com/?p=151"]this tutorial[/URL], I'm trying to parse my …

Member Avatar for RachelR
0
1K
Member Avatar for Coyx

Hi all, Looking for some help with a piece of code in a jQuery slider. The problem is that it is refusing to do anything in IE, whether by clicks or automatically slide - as it does in Chrome/Firefox. The slider is on the home page; [url]http://www.darenthmjs.com/[/url] The code is …

0
92
Member Avatar for kolibrizas

I am doing a cross-site ajax to java data transaction(Not sure if I named that correctly, so please forgive me about that). Part of code in Java file: [CODE]BufferedReader input = new BufferedReader(new InputStreamReader(connectionsocket. getInputStream())); DataOutputStream output = new DataOutputStream(connectionsocket.getOutputStream()); ... output.writeChars("some random text"); output.close();[/CODE] Also I have index.php file …

Member Avatar for kolibrizas
0
224
Member Avatar for showman13

Good Early Morning (just barely) I have an issue with a javascript function in <head> portion of a script apparently sending something to the browser that is preventing a redirect from working the way it was before I added this JS... Here is the JS that I added [CODE] <link …

Member Avatar for showman13
0
189
Member Avatar for Violet_82

Hi guys, I wonder if anybody can give me an advice. I am working at a photography site (as many of you might know by now :)) and I realized I made a pretty bad mistake, for the second time in a row unfortunately, which is to rely on javascript …

Member Avatar for Violet_82
0
192

The End.