15,121 Topics
| |
help! I'm trying to figure out how to verify looped form fields by name. This seems like it should work, but it's just skipping right past this verification step. Here's the code: <?php session_start(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type='text/javascript'> function myForm(){ // … | |
my coding is working but it is showing html tags from text.html,i want that onmouseover it get data from text.html by tag or div id naem and also by changing in text.html its suddenly chane not on refresh <html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var … | |
I am new to usage of jquery.I want to show a confirmation facebox while all my input requirements are true.ie when my form fields are validated a simple facebox should appear showing the forms are validated.How can i do it.Itried a lot.But i didnt get the source for facebox.I didnt … | |
We know we already have built-in [I]Trim methods[/I], but trimming doesn't get rid of internal, (and unwanted) extra spaces. -So this is where Normalize method comes to play. It trims left, it trims right, but most importantly it also trims on the inside, one could say: "it trims inside-out". In … | |
So for my code that i have below the reg.onclick is happening before it is even clicked and I'm not really sure how to fix this. Thanks for the help in advance. function displaySearch(){ var div = document.getElementById('table') var table = document.getElementById('tableSearch') var res = xmlhttp.responseXML var e = res.getElementsByTagName('element') … | |
Hi, I'm trying to use a javascript for loop to write out links with titles from an array, that when clicked will execute a function I have written to pop open a new window, with info on the link clicked, this is the code I'm trying to use (this is … | |
| Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all … |
HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to … | |
Hi, I am luking for a Collection library much like what we get in java and c# and in my hunt i came across few names like bucket, coffeeblack, js_cols. Which would be most compatible with jQuery? As i got a nice library from sourceforge.net but it is not compatible … | |
please tel me the logic behind the code for find the common aphabets between two words?? ex ... mine mind common letters are : m i n like | |
Ok, so I have a few ajax pieces on my site, and I am trying to include functionality when something is clicked. Basically, lets say like on facebook, when someone makes a comment, then that new comment is created. My return is for the pieces with the ID's pulling in, … | |
so for my code i have i'm trying to pass along the i variable in the for loop but when i pass it on it passes the highest i value. so when it should be one it passes along 10. i am curretnly passing along the cell6 id and splitting … | |
I am trying to use jScrollPane vertically, but it is not working. http://jscrollpane.kelvinluck.com/ I want simple styleable scrollbar alternative for above link or need help to make code work ( **Vertical only :-** http://jscrollpane.kelvinluck.com/arrows.html ) | |
i want to check which radio button is checked in rows of a datalist and compare that radio button value with database feild value using javascript or c# can anyone suggest me idea. i has this code: Code blocks are created by indenting at least 4 spaces ... and can … | |
Hello everyone, I am thinking to create a vertical menu, which may contain sigle level or even multiple levels of submenus. While mouse is hover one main menu item (parent menu), the related submenu items will appear one by one on the right hand side. While click on one of … | |
hi,i would like to add an 'onChange' to my <ext:TextField> to execute a function,but it´s not working.Any ideas? | |
i want to add different javascript to different divs. Is it posible to set .js page's scope to specific <div> ? | |
I am reading the STATUS field from table CONTENT while modal dialog is being active, then after 10 seconds i have to read the same table CONTENT. If status is changed, i have to stop the polling mechanism and inform the user that content was encrypted. If i done these … | |
<form method="POST"> first name <input type="text" name="ab" value="aadi"> <input type="text" name="bb" value="aadi"> <br> <hr> <input type="checkbox" name="same" onclick="this.form.zb.value=(this.checked)? this.form.ab.value: ''; this.form.zs.value=(this.checked)? this.form.as.value: ''; this.form.se.value=(this.checked)? this.form.sel.value: '';"> Same as first name<br> second name <input type="text" name="zb" value=""> <input type="text" name="yb" value=""> <br> </form> This coding can only when click the checkbox. … | |
I have div.js which is for popup in this i define 2 function getPageSize(); and getPageScroll(); and other file a.php and b.php in a.php as below <script language=Javascript src="/div.js"></script> <script language=Javascript> function divOn (aId_task) { var arrayPageSize = getPageSize(); var arrayPageScroll = getPageScroll(); //bgrnd4 = '<div style="position:absolute; top:0; left:0; width:100%; … | |
doing this stuff in js and the css doesn't affect the tags in the js writeln js: `document.writeln("<table><tr><td>Nom</td><td>Prénom</td><td>Code Permanent</td><td>Login</td></tr></table>");` css: `table, td, tr{border:2px, double;}` i know this is simple, what am i missing ? oh yeah, it's an external js file, if that changes anything. thx Dark | |
what am i doing wrong ? i want to fetch what langugage of new users. i've tested and tried: navigator.userLanguage navigator.browserLanguage navigator.systemLanguage and so far it returns: undefined thx Dark | |
| In the following html code, <html> <head> <title>Blogging</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> var tpe; var islogin = 0; var userid; function ajaxFunction() { var xmlhttp1; if(document.getElementById('searchtype1').checked == true) tpe = 1; else tpe = 2; if (window.XMLHttpRequest) xmlhttp1=new XMLHttpRequest(); else xmlhttp1=new ActiveXObject("Microsoft.XMLHTTP"); var searchvalue = document.getElementById("keyword").value; var … |
<?php session_start(); include 'forms.php'; include 'config.php'; include 'lib.php'; ?> <html> <head> <meta charset="UTF-8"> <title>Login</title> <link href="css/main.css" rel="stylesheet" /> </head> <body> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <script type="text/javascript"> $(document).ready(function(){ $("#check").click(function(){ var username = ("<?= $username ?>"); $.ajax({ url:"ajax.php", data :'username=' +username, success: function(ajax){ $("#ajax").append(ajax); } }); }) }); </script> </body> </html> <?php … | |
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 … | |
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, … | |
**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. … | |
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? | |
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 … | |
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' … |
The End.