15,121 Topics

Member Avatar for
Member Avatar for turpentyne

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(){ // …

0
109
Member Avatar for ak47carbon

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 …

Member Avatar for FullDuplex
0
102
Member Avatar for bavenbabu

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 …

Member Avatar for pritaeas
0
170
Member Avatar for Troy III

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 …

Member Avatar for Troy III
0
322
Member Avatar for mavis310

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') …

Member Avatar for Troy III
0
188
Member Avatar for InS@NiTy

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 …

Member Avatar for Troy III
0
157
Member Avatar for exonwarrior

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 …

0
74
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
2K
Member Avatar for james chaco

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 …

Member Avatar for james chaco
0
127
Member Avatar for srinidelite

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

0
62
Member Avatar for ebolt007

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, …

0
80
Member Avatar for mavis310

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 …

Member Avatar for drogba123
0
344
Member Avatar for vizz

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 )

Member Avatar for pritaeas
0
82
Member Avatar for abhisheknayak9

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 …

0
52
Member Avatar for bilibala

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 …

Member Avatar for elbeato
0
148
Member Avatar for VRamone

hi,i would like to add an 'onChange' to my <ext:TextField> to execute a function,but it´s not working.Any ideas?

-1
76
Member Avatar for sanket044

i want to add different javascript to different divs. Is it posible to set .js page's scope to specific <div> ?

Member Avatar for pzuurveen
0
167
Member Avatar for arunsolo1984

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 …

Member Avatar for pzuurveen
0
81
Member Avatar for erik216

<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. …

Member Avatar for almostbob
0
112
Member Avatar for newbie1234

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%; …

Member Avatar for newbie1234
0
12K
Member Avatar for DarkMonarch

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&eacute;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

Member Avatar for DarkMonarch
0
91
Member Avatar for DarkMonarch

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

Member Avatar for DarkMonarch
0
113
Member Avatar for vijiraghs

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 …

Member Avatar for Airshow
0
142
Member Avatar for king24

<?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 …

Member Avatar for diafol
0
302
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
272
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
152
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
169

The End.