Javascript Calendar/DateTime Picker control
I got this nice little gadget from a friend of mine who also didnt know where it originally came from. This one’s made by Nick Baicoianu in 2006 and distributed under the GNU license. It had problems with Firefox 3 where it wasn’t showing anything in the dropdown for the years. [...]
howdy everyone,
well, its been quite a few days since I dropped something on my blog, been eXtreeemly busy these days. Did any one missed me??
OK, today I got this little test application for you people who are wondering: “how to use TinyMCE in ASP .NET?”. Trust me, its very simple and very straight [...]
A few days ago I was working on a project that involves a really good looking design and it had some fancy effects on a page with the help of jQuery library
The fancy effect was about showing a button over the picture with the title “View larger” when the mouse hovered over it and it [...]
There was a problem I was facing with a web form I made, and that was that whenever the user pressed the enter key while typing in a text box, he was taken to the previous page. Obviously it was very irritating so I thought about making up a javascript routine to eat away the [...]
//Function to get the HTML name of the server control from the Client Id
// Parameters:
// clientId – Control.ClientId
// serverId – Control.id
private string GetHTMLNameById(string clientId, string serverId)
{
int pos = serverId.IndexOf(‘_’);
string HTMLName = “”;
if(pos >= 0)
{
pos [...]
The first is a definition of the separate function leftTrim, rightTrim and trimAll.
These trim the spaces to the left of the string, the right of the string and both sides respectively.
function leftTrim(sString)
{
while (sString.substring(0,1) == ‘ ‘)
{
sString = sString.substring(1, sString.length);
}
[...]
well today I was just putting in a pop up window in my application using the Javascript’s window.open method and at first I wrote this:
window.open(“printApp.aspx”,“Print barcode window”,”status=0,width=380,height=175,location=0,scrollbars=0,resizable=0″);
and that was working in Firefox but when I fired up IE to see whats happening there it was giving an invalid parameter’s error. So I started trimming the [...]
well, this is how you can go back to the previous page through Javascript.
javascript:history.go(-1);