<SCRIPT LANGUAGE="JavaScript">
function openURL() {
//Either use window.location OR location.replace
//Location.replace replaces the current page with the new one in the browser
//history (good for a redirect on the front page of a website)// window.location = 'http://www.cnn.com'; location.replace('http://www.cnn.com'); } </SCRIPT> <input type=button name="a" onClick="openURL();"> On 11/14/05, brain7822 <[EMAIL PROTECTED] > wrote: > > hi friends, > I want to open a new URL on the same window using window.open How > can I do it? or in the same way I want to use a button whose input type > should be "button" to open a new window or say new URl in the same > window how can I do it? please help me out it's urgent. > Thanks > > > > > > > > > > > Yahoo! Groups Links > > > > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
