by Mikael Henriksson
22. July 2010 20:33
I wanted to clear some textboxes when it gets focus so that the user does not have to clear the textbox before they enter whatever text. I came up with the following pretty quickly. $('input[type=text]').focus(function () {
$(this).val('');
});
This worked like a charm!
I clicked ...
[More]
de4d2e90-95f8-4916-9495-645784de1b51|0|.0
Tags: jQuery
jQuery
by
4. February 2009 01:09
The reason I want to do this is because I like to make everything very “visible” to the user. Readability is very important and the UI tends to get cluttered as it is. For now I am very happy with my little hack. It’s extremely late and “real” work is getting the better of me but I’ll post what I h...
[More]
30b1d3ac-0872-42e4-b32b-0350eecaebad|0|.0
Tags: jQuery
jQuery
by
1. February 2009 22:42
First of all I must start with saying, javascript and jQuery is very different from anything I have ever used before and I have been searching high and low for a simple way to simply toggle the visibility of a div. The reason for this is that I want to ‘popup’ a insertion div when the user requests ...
[More]
ee3f09f9-499e-4496-a117-c28f6b641821|1|4.0
Tags: jQuery
jQuery