I have three input boxes for entering a telephone number on a webpage:
XXX XXX XXXX
I need JavaScript that moves the user between the boxes as you type. After the third character, it moves you to the second box, etc...
In the past, I've had trouble with the backspace. When I clicked backspace from the second box, it puts me in the f...
I'd like to find a better way to output console messages to an HTML page. This method seems to be pretty slow.
<html>
<title>Logging test</title>
<head>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function log(s) {
if(!log.start) {
var date = new Date();
log.count = 0;
_log("0", "log() started at " + ...
The output of the asp.net datagrid doesn't include the thead and tbody elements required for the jquery tablesorter to work.
E.g. it looks like this:
<table>
<tr>this is my header row</tr>
<tr>content row 1</tr>
<tr>content row 2</tr>
<tr>content row 3</tr>
...
<tr>content row n</tr>
</table>
and it needs to look like t...
I want to add a button to one of our web sites that will allow the user to file a bug with our bug tracking system.
One of the feature requests is that a screen cap of the page in question be sent along.
Without installing something on the end users machine, how can I do this? Does javascript have some sort of screen cap api?
...
Say i have 10 small images that i want to use as tooltips.
Im assinging them all the same class, '.helper'
Im selecting helper, then calling
mouseenter(function() { $(".helper").stop(false,true).fadeIn(); })
I then want a div to popup, containing some text. This works fine if there's only one tooltip on the page, but as soon as ther...
What are the best websites to learn entry level Javascript?
...
I'm a complete novice, looking for instructions on implementing javascript. I am attempting to replace a YUI slider with buttons and a text field. I am trying to achieve buttons that, when held down, will continue to make the text field increase, preferably at a faster and faster rate. (http://www.blackbird502.com/white.htm)I have thi...
I have a basic web page that I'm trying to capture the enter key when pressed. I will have a page with many rows( depending on what was pulled by the database ) where each field is editable. What I'm trying to do is when a user is focused on a certain column on a certain row, I want them to be able to press enter and their focus will go ...
I'd like to have the browser act as if the user had pressed the Tab key when they click on something. In the click handler I've tried the following approaches:
var event = document.createEvent('KeyboardEvent');
event.initKeyEvent("keypress", true, true, null, false, false, false, false, 9, 0);
this.input.focus()[0].dispatchEvent(event)...
We have some html that looks like this:
<form id="MyUserControl" runat="server" method="post">
<script language="javascript" src="javascript.js"></script>
The javascript file contains something like this:
document.write('<object id="MyUserControl" ');
document.write('classid="MyUserControl.dll#MyNamespace.MyUserControl"');
documen...
anybody can help me to change that javascript function to AS3?
thanks :)
function parseURLtoVars(strLocation){
var rArray = new Array();
var key;
var urlString = new String(strLocation);
if (urlString.search(/\?/)>-1){
var qArray = urlString.split('?')[1].split('&');
if (qArray.length > 0){
for (key in qArray){...
I'm looking for some applications or websites that minimize css and js files. Ideally, they could batch them all or if not, one at a time.
Thanks!
Brian
...
I have a project where I need to give the users several different sets of radio button options based on a given value they select in a drop down menu.
For instance..
<select id="aaa">
<option>red</option>
<option>blue</option>
<option>other</option>
</select>
<div id="abc">
Input<BR>
option 1 <input type="radio" name="colorinput" valu...
I suspect most web developers are familiar with the Flash-based page curling transition to turn pages? (Such as here)
Can this be implemented, in a good way, with just simple HTML+CSS+JS?
(or any other 'native' browser languages, like SVG?)
My preferred library is jQuery, but any working JavaScript solution would be acceptable.
...
Hi,
I have a web application(ASP.NET2.0 C#) and in it, I have a gridview that gets its data from a datasource.
I wanted to add the following feature: the user can click a button "select columns", and a box pops up with a list of all the columns(a checkboxlist in a div, possibly) and that way, the user can choose the columns they want to...
Well I have a 50000+ row table so I can't load all rows into each page for the user to use autocomplete, so I am trying to use an ajax call via the extraParams parameter but don't know:
1) What format to make the results display in on the page being called via ajax (get-dropdown-results.xml in this case)
2) How to get these results int...
I have a series of checkboxes and input type="text" areas, wherein I need to have the state of the checkbox set to true when the value in the text area changes. Simple enough. I've done this successfully:
<input name="fixed" type="checkbox">
<input name="stuff" type="text" onchange="this.form.fixed.checked=true">
Which works fine. ...
Hey guys,
So I'm seeing some strange issues in ie8 with jquery, and assorted javascript files. These errors are not occurring in Firefox, Safari, or previous versions of IE. The main thing that's happening are variable undefined, mismatched bracket errors, etc... but the error changes each time you force-refresh the page. Checking the c...
I need JavaScript working almost perfectly in my application that should be able to access web content and let user take a control of it. However, webbrowser component pops new windows in separate instance / application of Internet Explorer and dotBrowser doesn't work with JavaScript properly.
Please, give me some advice - I'd even take...
I need to prevent the automatic scroll-to behavior in the browser when using link.html#idX and <div id="idX"/>.
The problem I am trying to solve is where I'm trying to do a custom scroll-to functionality on page load by detecting the anchor in the url, but so far have not been able to prevent the automatic scrolling functionality (speci...