Click here to Skip to main content
16,004,924 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Please help me in aspdotnet Pin
N a v a n e e t h10-Jan-08 22:28
N a v a n e e t h10-Jan-08 22:28 
GeneralPlease Help Pin
Pankaj Garg10-Jan-08 21:45
Pankaj Garg10-Jan-08 21:45 
GeneralRe: Please Help Pin
Vasudevan Deepak Kumar11-Jan-08 0:15
Vasudevan Deepak Kumar11-Jan-08 0:15 
QuestionReading tabular data from HTML file Pin
v1i9n6o7d10-Jan-08 21:12
v1i9n6o7d10-Jan-08 21:12 
GeneralRe: Reading tabular data from HTML file Pin
Mike Ellison14-Jan-08 14:21
Mike Ellison14-Jan-08 14:21 
Generalclear browse cache Pin
Imran Khan Pathan10-Jan-08 21:06
Imran Khan Pathan10-Jan-08 21:06 
GeneralRe: clear browse cache Pin
Paddy Boyd10-Jan-08 22:20
Paddy Boyd10-Jan-08 22:20 
GeneralSet href using javascript function [modified] Pin
Imran Khan Pathan10-Jan-08 20:52
Imran Khan Pathan10-Jan-08 20:52 
Hello freidns
I have a problem to preview image on click of anchor tag.
I want to set href of anchor tag using javascript on click of same anchor tag and want to load that url.

suppose I have one anchor tag like as
<a href="#" onclick="SetHref();return false;" id="achor">Set Href</a>

and javascript function
function SetHref()
{
document.getElementById('anchor').href="mypage.aspx";
}

Does above code sets href to anchor tag and load that page?

Or any other solution regardin this issue.
Thanks in Advance.

please don't forget to vote on the post that helped you.
modified on Friday, January 11, 2008 3:00:30 AM
GeneralRe: Set href using javascript function Pin
Declan Bright10-Jan-08 21:35
Declan Bright10-Jan-08 21:35 
GeneralRe: Set href using javascript function Pin
imsathy10-Jan-08 22:07
imsathy10-Jan-08 22:07 
GeneralBrowser problem Pin
trilokharry10-Jan-08 20:11
trilokharry10-Jan-08 20:11 
GeneralRe: Browser problem Pin
N a v a n e e t h10-Jan-08 20:16
N a v a n e e t h10-Jan-08 20:16 
GeneralRe: Browser problem Pin
Parwej Ahamad10-Jan-08 20:24
professionalParwej Ahamad10-Jan-08 20:24 
GeneralRe: Browser problem Pin
N a v a n e e t h10-Jan-08 20:25
N a v a n e e t h10-Jan-08 20:25 
GeneralRe: Browser problem Pin
Parwej Ahamad10-Jan-08 20:27
professionalParwej Ahamad10-Jan-08 20:27 
GeneralRe: Browser problem Pin
Satish_S10-Jan-08 22:43
Satish_S10-Jan-08 22:43 
GeneralCrystal Report Clear Section Pin
SreejithAchutan10-Jan-08 20:09
SreejithAchutan10-Jan-08 20:09 
GeneralTable structure Pin
trilokharry10-Jan-08 19:59
trilokharry10-Jan-08 19:59 
QuestionGridView with Add New Row functionality Pin
AS@1310-Jan-08 19:57
AS@1310-Jan-08 19:57 
GeneralRe: GridView with Add New Row functionality Pin
N a v a n e e t h10-Jan-08 20:13
N a v a n e e t h10-Jan-08 20:13 
GeneralRe: GridView with Add New Row functionality Pin
AS@1310-Jan-08 20:38
AS@1310-Jan-08 20:38 
GeneralRe: GridView with Add New Row functionality Pin
N a v a n e e t h10-Jan-08 22:40
N a v a n e e t h10-Jan-08 22:40 
GeneralProblem with javascript Pin
RajeevKumarSharma10-Jan-08 19:35
RajeevKumarSharma10-Jan-08 19:35 
GeneralRe: Problem with javascript Pin
Parwej Ahamad10-Jan-08 19:44
professionalParwej Ahamad10-Jan-08 19:44 
GeneralRe: Problem with javascript Pin
N a v a n e e t h10-Jan-08 19:52
N a v a n e e t h10-Jan-08 19:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.