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 Chris 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
  • 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

    Thank You. That helps a lot. It also seems much simpler than the IFRAME. I'll work on that implementation
  3. darkling235

    Good way to write text into a JS page

    Thank you for explaning that. Is there anyway I can use Javascript to keep the display in the same page but make it look like a panel of a separate page? Just to keep it looking nice and separate? Also at the risk of beating a dead horse what function can I use to write stuff to the page...
  4. darkling235

    Good way to write text into a JS page

    Thanks for responding. The spec of this project says we need the output to be in a separate panel (this is for a mozilla extension so my boss thinks having a separate panel will make it look nicer). In any case I need to be able to write information there. Now getting back and forth between the...
  5. 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...
  6. 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...
  7. darkling235

    Click on Frame

    If nothing else could someone please show me how to get a reference for a frame? I've just started javascript so I'm kind of noobish Thanks
  8. darkling235

    Catching event firing

    Ok heres the whole html file. There is a lot of JSP in it but the basic idea is that I'm catching the event when someone right clicks but then I can't determine what node fired the event. Help would be greatly appreciated. Thanks <%@ page import = "com.java.activityinfo.template.*" %> <%@ page...
  9. darkling235

    Catching event firing

    Ok sorry to be a pest but I'm still not grasping the soultion after reading that tutorial. Every property and function I try to use to catch the "source" (the actual text node that was right clicked on) it comes back undefined. I get the firer sort of from calling event.target which gives me...
  10. 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...
  11. darkling235

    Getting body of frame

    Well Long story short nothing happens. I'm trying to view the source code of another page but it doesn't seem to work. Any thoughts on how I could fix it?
  12. darkling235

    Catching event firing

    Thank you
  13. 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...
  14. 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")...
  15. darkling235

    Need suggestion on JAVASCRIPT powered forms

    Well long story short I need to take the data in the TR and send it to a servlet via an xmlhttp request so I can process it. Maybe if I try writing a send method and pass in the data to be sent? I could have different arguments for each TR? I'm not sure if that'll work. I'll try it.
  16. darkling235

    Need suggestion on JAVASCRIPT powered forms

    Yes thank you, that solves half my problem right there, but can you think of any way to know which <TR> has been selected, or just what text has?
  17. 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...
  18. darkling235

    NodeValue returns null

    Ok I've got it working. Thank you
  19. darkling235

    NodeValue returns null

    Thank you, that actually does work. I used a page consisting off </HEAD> <BODY> IAMSAMSAMIAMTHATSAMIAMTHATSAMIAM <input type = "button" value = "click" onClick = "myfunc()"/> </BODY> </HTML> And it did work. But how can I deal with text that does have spaces? Can you give me any suggestions...

Part and Inventory Search

Back
Top