Please help me to display an Http:// url in the alert in client script

ramya0905
Kilo Expert

Please help me to display an Http:// url in the alert in client script

1 ACCEPTED SOLUTION

this will display as link... i tried this on demo just now...



g_form.addInfoMessage("<a href='"+location.href+"'>"+location.href+"</a>");


View solution in original post

17 REPLIES 17

Hi Nitin,

 

Have you found the solution ?

Kalaiarasan Pus
Giga Sage

Pasting it again here



this to display current URL as link



g_form.addInfoMessage("<a href='"+location.href+"'>"+location.href+"</a>");


Harish Murikina
Tera Guru

Hi Ramya,



                          I tried to show alert message with different color to more intractable to read. But The thing which i observed is HTML tags are not working on alert. What ever you give in alert it can treat as a string . So in alert message you cant give any hiper links.



The way you can achieve it by using Glide window.



Regards,


Harish.