I've come very close, I think, but can't seem to cover every single one of the fronts listed below:
disable use of backspace, delete, left arrow key, home key, and ctrl for various reasons (all of which prove difficult once you factor in the confusion caused by holding down two at the same time)
make certain that the user cannot exit t...
How can I make sure the form won't submit if one of the validations is false?
$('#form').submit(function(){
validateForm1();
validateForm(document.forms['dpart2']);
validateForm(document.forms['dpart3']);
});
...
<script>
var is_gecko = /gecko/i.test(navigator.userAgent);
var is_ie = /MSIE/.test(navigator.userAgent);
function insertNodeAtSelStart()
{
if(is_gecko)
{
var S = window.getSelection();
if(!S.isCollapsed)
{
var R = S.getRangeAt(0);
var R1 = R.cloneRange();
var NN = docu...
Hi,
I'm trying to create a Firefox plugin and I would like to use some jQuery functions. How to include needed jQuery libraries? Some way to include the libraries to the plugin itself?
I need to show a jQuery Dialog type window on various web sites when user clicks a link injected to the page.
Thank you for your answers!
...
What is a decent IDE for developing JavaScript, I'll be writing both client side stuff and writing for Rhino. Ideally It needs to run on Mac OSX, although something that runs on Windows too would be nice.
ADDITIONAL:
Having had a play with both js2 and Aptana, I think I'll be continuing to use Aptana. Mainly because I find emacs a bit ...
I'm new in c#.net. I'm going to design a website for DMS(educational domain)in C#.net. So in one of my Aspx page I want to disable menu which is in javascript according to accessright. the accessright stored in database table "login" as one attribute in SQL server and I want to retrieve that accessright to one C# variable and want to ac...
I'm trying to make a bookmarklet that will take the url of the current page you are on and send it to an application written in PHP with CodeIgniter.
The problem I keep running into, however, is that I can do a standard AJAX call because it's cross-domain so it's disallowed and I can't figure out a way to use the JSONP via GET method, s...
I have the following code in my page
<html>
<head>
<title>testpage</title>
<script language = 'javascript'>function fchange(){alert(document.getElementById("ifrm").value);</script>
</head>
<body>
<iframe id = 'ifrm' src = 'http://www.google.com' width = '700' height='500'></iframe><input type='button' onclick = 'fchange()' ...
I've installed MOSS 2007 a number of times, but I always run into the same problem. The installation goes just fine, but MOSS seems to be missing functionality.
In the Administration page, clicking the 'OK' button in Create or Extend a Web Application does absolutely nothing. Also, clicking certain links evoke no response either. I...
Hi,
I'm trying to create a particular CSS button described here:
http://www.2shared.com/file/5131551/412bd8a8/Sans_titre-1_copie.html
Basically, it's a button that fulfills the following conditions:
the inside text is HTML content (it
will contain text + images)
it has rounded corners
It changes colors when the mouse hovers it
flex...
I'm interested in knowing the actual average page loadtime for my webapplication.
Simplistically, how log does my average visitor wait before they can start using a page on my site. From when they click the link to my site until the site is finished rendering & ready to accept input.
The standard solution seems to be to use Javascript...
I have a web page (made with JSF) where some links allow the user to get a PDF file.
When the user clicks on such a link, a waiting popup (it is a modal panel) is displayed (because the generation of the PDF can be long), and once the file is created, IE displays the "File download" popup that proposes "Open", "Save" and "Cancel" option...
Is the only difference between the RegisterStartupScript and the RegisterClientScriptBlock is that RegisterStartupScript puts the javascript before the closing tag of the page and RegisterClientScriptBlock puts it right after the starting tag of the page? Also, when would you choose one over the other. I wrote up a quick sample page ...
I've used jTip (jQuery plugin) and overLIB in the past. Are there any others I should be looking into...any accepted "best" one?
...
I have an aspx page defined as follows:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" language='javascript'>
function changecolor() {
var lbl = document.getElementById('lblDisplayDate');
lbl.style.color = 'red';
};
</script>
...
I have seem some people put their code inside of the void function.
I have also seen this in hrefs: javascript:void(0) which doesnt seem any better than writing javascript:;
so, what is the justification of using the void function?
...
Hi,
i want to sort the drop down items using javascript,can anyone tell me how to do this.
...
Is it possible to query a HTML Canvas object to get the color at a specific location?
...
Why doesn't this work right? The effect I am trying to achieve is the blocks move from left to right, and start "pushing" the next ones along. It seems to be a problem with nested callbacks performing animations on the outer elements.
Can anyone explain this? It sorta works, but everything moves too many times.
<html>
<head>
<style>
.i...
I have a web page with many (up to 100+) html elements on it. Each one has an onmouseover event registered to fire to do some logic and rendering depending on which element is hovered over.
I am finding that in IE the more onmouseover events that are regitered the longer they take to fire. In Firefox the speed is fine and in Chrome ev...