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...
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...
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...
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...
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...
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...
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...
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...
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?
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...
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")...
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.
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.