prevent

Java JSpinner Prevent Letter Insertion

A JSpinner is used to store a number in my application (with a SpinnerNumberModel). As expected, the spinner doesn't allow invalid characters (letters, symbols, etc.) to be stored. However, those characters do appear in the spinner component when I type them in. As soon as I switch the focus to another component, they disappear. Is the...

Prevent the page to load elements in the page refresh ASP?

Hey, I have a page that add Items to RadioButtonList with this code : Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) RD.Read() RBQ1.Items.Add(RD.GetString(3)) RBQ1.Items.Add(RD.GetString(4)) RBQ1.Items.Add(RD.GetString(5)) RBQ1.Items.Add(RD.GetString(6)) End Sub When I click in any button...

Preventing Email Spam?

I am working on an email program and I want to add a basic way to detect spam based on the domain/sender of the mail. One service that I was looking at was gossip (http://gossip-project.sourceforge.net/) but I don't want to go to the hassle of setting up a dedicated Gossip server. I know that there are a lot of email blacklists (DNSBL's)...

Quicktime Object Embed Without Buffering

i have a site [here][link removed] (IE8 and Google Chrome 5 only). i was wondering for the quicktime object if there was a way to not start buffering unless the user clicks the play button? i hope to insert other movie files in the future and having them all buffer is not reasonable unless there is no way of getting this done. thank y...

Prevent A User From Downloading Files from Python?

Hello. I am working on a project that requires password protected downloading, but I'm not exactly sure how to implement that. If the target file has a specific extension (.exe, .mp3, .mp4, etc), I want to prompt the user for a username and password. Any ideas on this? I am using Python 26 on Windows XP. ...

Prevent Opera form chaching mp3

Hi, again i try to prevent form caching mp3 files form my site. I use flash player, all files are outside public html i use this script to access to files <?php $file = $_GET['file'] . '.mp3'; $fileDir = '/path/outside/public_html/'; if (file_exists($fileDir . $file)) { ob_start(); $contents = file_get_contents($fileDir . $f...

How to prevent a click event using jQuery.live

When I use the following jquery live function $("a[rel]").live('click', function () { e.preventDefault(); alert('clicked'); }); e.preventDefault(); does not work, because the action behind the a tag is still fired. How do I prevent an event when I use jQuery.live? ...

Why does a .NET application prevent Windows from shutting down?

One of my applications prevents windows from shutting down if it is running. The only spot where I suspect the cause may be is FormClosing event handler, which is however quite standard: EDIT: Removing this handler does not change the situation at all so the cause is somewhere else. private void MainForm_FormClosing(object sender, For...

Prevent an accidental Back Browse

I have a client that just got the Apple Magic Mouse. We built a recipe website and she get very upset when she is inputting all the information for the recipe, then goes for her new mouse and accidentally scrolls to the right and it will do a Back Browse and all her info is lost. So she wants to warning/pop up to prevent this from happ...

CKEditor prevent the <p> at the begining

Hello! I am using CKEditor and what it does is add by default a at the begining of the content. Even if I set enterMode to be , it will only affect what the Enter key does, and keep the starting . The problem I have with that is that if a text starts with an tag, it will wrap the around that and the float:left on the image has no e...

Prevent firebug from manipulating DOM

Is there a way to prevent programs like Firebug from manipulating the DOM of a page. I've noticed that you can simply delete thing like ads that are paid for by other companies. Is there a way for the page to stop it? ...

Preventing screen grab within Delphi

Possible Duplicate: How can I prevent users from taking screenshots of my application window? So far I have be able to stop the Prt Sc key press and able to clear the clipboard so that my application cannot be screen grab. However as a test I tried used Corel PaintShop pro and an option it has is to import screen capture whic...

How do I Work with Overlapping layers and links in JQuery?

Working with Overlapping layers and links in JQuery tr______________________________________________ | td | td | td | | checkbox | content | content ____| |_____|__________________|_______|alink__| I have a table filled with value...