Posts

Showing posts from May, 2006

Khanag a nice place to visit

Image
Khanag - (Himachal Pradesh) Originally uploaded by Vivek Jishtu . During this trip we went to Khanag. Its a nice secluded place with a temple on the top. Its a nice open space surrounded by a forest from all over. Its one of the few places where you can really relax. The other two places that are somewhat like this have to be Triund and Jaw Bhagh near Hatu peak. I hope to visit that place again someday. I had intially planned to go there 10 years back but could not go. Finally this time went there and it was really worth it.

Using images to submit a form. Bug/Feature in IE

Its been a very long time since I posted here. I have been out on a trip and after that busy with the projects. There is nothing new that I have explored in the last few days except for a feature/bug in IE that took a day to figure out. If you use an image instead of a submit button. input type="image" name="button1" value="test".. instead of input type="submit" name="button2" value="test".. You will not get the name/value pair on the server in case of IE. Since I mostly use firefox I missed it out completely. Once all the images were changed it was tested on IE and it did not work. After trying out for hours and searching high and low on the internet I finally figure out that incase of an image IE will not send the name/value pair. Instead it will send out button1.x and button1.y, which are the coordinates where the user clicked. So I had to change the complete code to check for button1_x and so on. It was a real pain gettin