Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: darkling235
  • Content: Threads
  • Order by date
  1. darkling235

    How can I wrap text in a new node

    Hi. My deadline is rapidly coming up and I'm no closer to solving this problem than last week. The webapp requires a user to be able to highlight a selection of text and click a button on the app. The Highlighted text will then be wrapped in a new HTML tag (lets say its a <b> just for...
  2. darkling235

    Good way to write text into a JS page

    Can anyone suggest a good way to write text into a JS page? Basically I'm using an IFRAME to show dynamic feedback to the user. I need to be able to write text into this separate JS page and remove it later. I.E. The user clicks a button The words "You clicked a button!" appears in my...
  3. darkling235

    BIG PROBLEM WITH DOM MANIPULATION

    Hi. I need to be able to make a new node, actually an empty tag and be able to wrap it around a node or textrange. Actually I need to be able to do both those things. I'm working primarily with GWT and javascript in the JNSI (if you don't know what that means assume I can use any JS command and...
  4. darkling235

    Click on Frame

    Is it possible to use an onClick function to catch the selected text of information INSIDE of a frame? Or is that not allowed? I.E. You have a frame in your website, you click and highlight text in the frame, and the html page that contains the frame catches the event and processes the text...
  5. darkling235

    Catching event firing

    Hello. I'm trying to do two things when a user right clicks on my document. Number 1 I need to display a special context menu, I have this part written. Number two, I need to be able to identify what text chunk (the node would probably work) the user did click on and put it in a variable. This...
  6. darkling235

    Getting body of frame

    Can anyone tell me how to get the HTML code of a page in a frame? I'm using function view_HTML( ) { var newwin = window.open( "", 'templateview', 'scrollbars=yes,width=600,height=600'); newwin.document.open( ); newwin.document.write("<html><head></head><body>\n")...
  7. darkling235

    Need suggestion on JAVASCRIPT powered forms

    I'm looking for an implementation suggestion. I don't usually do much with graphics so I'm not totally sure how to do this. My client wants a user to be able to click on an "item" in a "table" and have that trigger an event. Basically what he wants is if you look at the main page on the forum...
  8. darkling235

    NodeValue returns null

    I am working on a webapp which is supposed to take the string highlighted and selected by a user, and find what text node in the DOM that string is in. So far I'm making progress. This is my code var selObj = window.getSelection(); alert(selObj); //print out selection //find DOM node...
  9. darkling235

    Geting destination url2

    Ok if I can't access the destination url where I'm going onleave, what about if I put a javascript function like onClick in each A href tag. Is there a way for me to get the actual URL in the link and do something with it before we redirect to the new page? Like <A href = "unspecified url"...
  10. darkling235

    Getting destination url onleave

    Hey. I need to get the url of the web page/site of where I am going when I enter an onleave event. Unfortunately due to the way this app has been designed I can't simply put javascript around every <A> link. Is there a variable or function that will let me get where the browser is about to go? I...

Part and Inventory Search

Back
Top