15,113 Topics

Member Avatar for
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
126
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
79
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
262
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
140
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
164
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
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
95
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
129
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
111

The End.