15,698 Topics

Member Avatar for
Member Avatar for CathInfo

I have a web application (Javascript) that captures keyboard input. The code works independently -- in fact, I've tried several different variations/code snippets that other people have used/recommended. They all work, and are functionally equivalent. But here's the clincher -- [B]my whole program works fine -- keyboard and all -- …

0
58
Member Avatar for Arcrammer

I have no idea what AJAX is -- other than the fact that it has something to do with JavaScript :yawn: I'm not that talented with JavaScript other than variables, functions, alerts, confirmation boxes, and simple stuff like that. Any links that would help me learn AJAX would be greatly …

Member Avatar for McLaren
0
166
Member Avatar for deepakkrish

HI, I have created a simple list box <select> <option>CustomerPending</option> <option>Network</option> <option>Reason 3</option> <option>Reason 4</option> </select>. My Query is when i select the option from the list it must me entered in to mysql.How to make that stuf.. Thanks, deepak

Member Avatar for Agarsia
0
71
Member Avatar for abhi10kumar

I have a WYSIWYG text area and I want to insert combo-box' value at current cursor location of the WYSIWYG text area. I have a simple textarea where the value is inserting on combo-box clicking. But when I do integrate both files, the functionality wont work. I have both scripting …

0
59
Member Avatar for CathInfo

I can't seem to capture keystrokes (via onkeydown) in Firefox. Now before you judge too quickly, here is a snippet that DOES work in Firefox -- but only by itself; not when pasted into my program: ------------------------------------------------------------------------ [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <script language=javascript> <!-- function vProcessKeyboard(e) …

Member Avatar for CathInfo
0
137
Member Avatar for anoopkh

Hi Sorry for my bad english. I am using a <tbody> section and I had set height of Tbody .But When the number of rows are small the height of the row will increase. I have tried to use max-height instead of height. But it doesn't works. I am using …

Member Avatar for anoopkh
0
102
Member Avatar for bkimbriel

Hey, I have basically zero knowledge of javascript, ajax, etc so any help is much appreciated. Basically I'm making a site that has an html option drop down list. I was wondering if there was a script out there / if one of you could write the script for me …

Member Avatar for bkimbriel
0
114
Member Avatar for trevoray

I am trying to use a VB.NET AJAX Timer control within a Repeater. I cannot figure out how to get this to work. The timer needs to constantly check the server to see what time it is and then display a live countdown clock based on a given time. I …

Member Avatar for trevoray
0
522
Member Avatar for dafpower

Now before anyone says oh use JavaScript that is exactly what I'm using - what my problem is, is that from my understanding javascript is volatile just like RAM is there a way that this can be over come? What i'm trying to do is to have a JS loop …

0
46
Member Avatar for Acute

Hi, [B]I need to remember the time when user closes the window[/B] and later when he/she comes back, site will highlight latest news that happened when user was offline. So far the best solution I have found is jquery.unload (since I use jquery): it sends some data to php script …

Member Avatar for Acute
0
70
Member Avatar for Drako12

im having a problem with the charset, when i set the page to UTF-8 the table head and foot accent marks become strange chars but if i set to ISO-8859-1 the text inside the table and on other field become this strange chars.. screenshots UTF-8 [url]http://img262.imageshack.us/img262/9178/utf8.jpg[/url] ISO-8859-1 [url]http://img705.imageshack.us/img705/4682/iso88591.jpg[/url] anyone knows …

Member Avatar for Airshow
0
138
Member Avatar for dhairyaguptha

To an Iframe, I have called a html page with form and have some Javascript functions inside the that page (child page). But no single function work within that page. The child pages javascript work when it called alone with direct URL. How i overcome this? Thank you!

0
102
Member Avatar for shubhadip

which is the procedure to call code behind file from asp.net to javascript

0
58
Member Avatar for Ritesh_4

Hello Is it possible to use an <a href> tag without adding any text link to it, usually we write <a href="....">Link to text</a>, but I want to omit the Link to text part, which however is completely removing my a tag. Any solution to this? I need the <a> …

Member Avatar for Ritesh_4
0
133
Member Avatar for new_developer

hi, I want that when i click on thumbnail, large image of that thumbnail opens in another page. Please tell me how we can do this, through javascript.

Member Avatar for sudeepjd
0
80
Member Avatar for sweet_85dreams

<html> <head> <script type="text/javascript"> function loadXMLDoc() { var xmlhttp; var txt,x,xx,i; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { txt="<table border='1'><tr><th>Title</th><th>Artist</th><th>COUNTRY</th><th>COMPANY</th><th>PRICE</th><th>YEAR</th></tr>"; x=xmlhttp.responseXML.documentElement.getElementsByTagName("CD"); for (i=0;i<x.length;i++) { txt=txt + "<tr>"; xx=x[i].getElementsByTagName("TITLE"); { try { txt=txt + "<td>" + xx[0].firstChild.nodeValue + "</td>"; } …

Member Avatar for sweet_85dreams
0
111
Member Avatar for mamatachaudhari

Hi, I have added a keypress event as [CODE] jQuery('#body').keypress(function(){currentTime= new Date().getTime(); });[/CODE] but when I open a pop up window which have a iframe contains a rich text area not capturing this event. Any ways to handle parent event in child element? Any suggestion?

0
93
Member Avatar for new_developer

Hi everyone, My javascript code is absolutely ok but its not working. I know it sounds funny but its happening with me. Please view below code and tell me is there any mistake in it. Javascript code: Which change image when i click on button. [code] var myImages = new …

Member Avatar for Javvy
0
262
Member Avatar for andrewliu

Hello, I'm having trouble figuring this one out. I'm trying to output more field boxes when a certain value is selected from a populated drop down menu. [CODE] <select name="selected_category" id="selected_category"> <option value='0'>Select Category</option> <option value='1' id='text' >Text</option> <option value='2' id='text2' >text2</option> <option value='new_category' id='new_category' >Add New</option> </select> <div class="works" …

Member Avatar for andrewliu
0
163
Member Avatar for methuselah90

[IMG]http://i.imgur.com/hSalo.png[/IMG] hi everyone! i'm trying to create an dynamic jquery tabbed interface and need some help. so far i've managed to draft a rough idea of how i wish the interface to look like and would currently appreciate suggestions on how to get production under way. 1) this is default …

0
69
Member Avatar for andrewliu

Hello, I'm still learning jquery and I was wondering how to work with dynamic links So say I have a while loop, and inside theres a link something like this: [CODE]while($row = mysql_fetch_array($sql_query) $test = $row['id']; { echo "<a href='".$test.php."'>".$test."</a>"; }[/CODE] I want to be able to click on the …

Member Avatar for Agarsia
0
120
Member Avatar for sowheredoigo
Member Avatar for nats01282

Hello i am after creating a javascript alert box with a text input and a submit button that when the submit button is pressed the text field will save its self into a php variable that will then be inserted into the a database. here is the code i have …

Member Avatar for diafol
0
167
Member Avatar for blackxswil

How should I call jquery from my php page? This is my php page: [CODE] <form action="#" method="post"> <input type="file" name="fileInput" id="fileInput" /> <input type="submit" value="submit" disabled /> </form> <div id="result"></div> [/CODE] And this is the js file: [CODE] $(document).ready( function(){ $('input:file').change( function(){ if ($(this).val()) { $('input:submit').attr('disabled',false); } } ); …

Member Avatar for blackxswil
0
93
Member Avatar for f_atencia

Hi all, I have a task that needs to be written in Javascript. I need to change a date e.g. '07/05/2010' to a format of '07 May 2010'. How can I do this? Help is greatly appreciated. Thanks again

Member Avatar for Javvy
0
70
Member Avatar for slrobinson1983

hello all. i wasnt sure if this should go in the php or javascript forum but here we go. i have a php table pulling info from a mysql table. each row contains the name of a user. the users names are links which should take you to a bio …

Member Avatar for slrobinson1983
0
157
Member Avatar for jeffcogswell

[ATTACH=RIGHT]19350[/ATTACH]In the past, the word "JavaScript" usually triggered notions of buttons changing when you float your mouse over them, and images flashing, and silly animations happening in the web browser. Today, however, most programmers recognize that JavaScript is actually much more than that; it's a powerful language that runs in …

6
433
Member Avatar for jrotunda85

We currently have a system that display multiple sections on one page when it loads. What we were looking at doing is breaking each section into an expandable/collapsable group that is controlled by the end user with all groups collapsed on load by default. In saying that, is there a …

Member Avatar for ArtistScope
0
143
Member Avatar for phouse512

Hello all, I'm having a problem with having code execute when I'm adding javascript/ajax to my php. When I do the following piece of code, nothing happens. This is just a test line of code, my real code links to more javascript which uses ajax, but I have to figure …

Member Avatar for phouse512
0
210
Member Avatar for eric8990

Hi all, I'm having some problems with a piece of ajax code. I have a page with a couple of forms, all with the same name. On submit, I want to use Ajax to send the form. For now, I only want to output the content of a simple txt …

Member Avatar for Airshow
0
161

The End.