Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Java script openBrWindow in asp.net

Java script openBrWindow in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpjavaasp-nettoolshelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LovelyHelp
    wrote on last edited by
    #1

    I trying to have my hyperlink open on the new page using java script which I have my code in this way and it is place as default.aspx.vb ------------------------------------------------------------------------- hyperlink.Text += "* " + Title("link_title") + "

    " -------------------------------------------------------------------------- I have my java script at the defualt.aspx ------------------------------------------------------------------------ <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> ----------------------------------------------------------------------------- and this line of code doesnt work in asp.net...the hyperlink are not function. If i have my line of code as below..It doing well. But I will like to have the new page when window open as above. ----------------------------------------------------------------------------- hyperlink.Text += "<li><a href='" + Title("link_url") + "' target='_blank' class='lesson'>" + Title("link_title") + "</a></li><br>" ------------------------------------------------------------------------------- Is any one can help? -- modified at 11:51 Sunday 19th March, 2006</x-turndown>

    G 1 Reply Last reply
    0
    • L LovelyHelp

      I trying to have my hyperlink open on the new page using java script which I have my code in this way and it is place as default.aspx.vb ------------------------------------------------------------------------- hyperlink.Text += "* " + Title("link_title") + "

      " -------------------------------------------------------------------------- I have my java script at the defualt.aspx ------------------------------------------------------------------------ <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> ----------------------------------------------------------------------------- and this line of code doesnt work in asp.net...the hyperlink are not function. If i have my line of code as below..It doing well. But I will like to have the new page when window open as above. ----------------------------------------------------------------------------- hyperlink.Text += "<li><a href='" + Title("link_url") + "' target='_blank' class='lesson'>" + Title("link_title") + "</a></li><br>" ------------------------------------------------------------------------------- Is any one can help? -- modified at 11:51 Sunday 19th March, 2006</x-turndown>

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      If you are using apostrophes to surround the value of properties in the html code, you can't also use apostrophes in the value, e.g. the javascript code. Use quotes around the values. --- b { font-weight: normal; }

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups