Submit form using javascript

Simply to submit a form using javascript you can write: document.getElementById( 'myForm' ).submit(); In the following code you will see a special case where the form is not appearing directly on the page but through an iFrame element. < iframe id = "myIFrame" name = "myIFrame"...

Continue reading "Submit form using javascript"

Call container page function from child iframe

The simplest way i got to call a function that exists in the iframe container page is using: window.parent.<Parent Function Name Goes here>(); Example: Container page: < html xmlns = "http://www.w3.org/1999/xhtml" > < head runat = "server" > < title ></...

Continue reading "Call container page function from child iframe"

Flash Javascript communication first look

I did a fast research about how to make flash interact with the container website, and i collected some good information. There are 2 main techniques to implement communications between flash and the container website: Example: http://www.kongregate.com/developer_center/docs/kongregate-api 1- Client...

Continue reading "Flash Javascript communication first look"

Me in a cartoon

...

Continue reading "Me in a cartoon"

HOW TO TELL WHEN IMAGES HAVE LOADED

Its a common requirement in some websites specially which are dealing with many images and JavaScript, such as image galleries websites or websites that has images slide shows made using JavaScript. In a project i just finished, i was making a slide show animation which start automatically when the page...

Continue reading "HOW TO TELL WHEN IMAGES HAVE LOADED"

Nice article about large file upload using asp.net

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx...

Continue reading "Nice article about large file upload using asp.net"

Different ways to watermark html input text

There are many ways to add a watermark text to an input text, which will go when you focus the control or start writing inside. I will list here some good ways to this behavior: < asp:TextBox id ="txtName" Text ="Enter you name .." onfocus ="if (this.value=='Enter you name...

Continue reading "Different ways to watermark html input text"

Guidelines for high-quality URLs

Usability expert Jakob Nielsen (www.useit.com) urges developers to pay attention to URLs and provides the following guidelines for high-quality URLs: ❑ A domain name that is easy to remember and easy to spell ❑ Short URLs ❑ Easy-to-type URLs ❑ URLs that refl ect the site structure ❑ URLs that are “hackable”...

Continue reading "Guidelines for high-quality URLs"

Thomas Edison, from code complete 2nd edition

When you come up with a first design attempt that seems good enough, don't stop! The second attempt is nearly always better than the first, and you learn things on each attempt that can improve your overall design. After trying a thousand different materials for a light bulb filament with no success...

Continue reading "Thomas Edison, from code complete 2nd edition"

Send email from gmail using asp.net, godaddy shared hosting

“Sending email is working local, but when i put online its not sending and returning errors”, We hear a lot of people online suffer from this annoying problem, i had the same problem but rather than spending a lot of time searching for solutions on google and forums, i went to godaddy support...

Continue reading "Send email from gmail using asp.net, godaddy shared hosting"

Options:

Size

Colors