wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Problem in using DHTML  Object Model Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem in using DHTML  Object Model" Watch "Problem in using DHTML  Object Model" New topic
Author

Problem in using DHTML Object Model

Kumar Anupam
Greenhorn

Joined: Oct 30, 2004
Posts: 19
I am generation HTML file on Web by using .htc file.

Now selecting the stylesheet available in the combo box and based on that CSS classes. I want to add this stylesheet in the head part of it. while for other tags I am not facing any problem as each and every control is inserted where my cursor is or in place of selection.

At most of the places we are using this code to put aur htm tags in the editor.

<code>
var oSelection = element.editor.DOM.selection;
var oTR = oSelection.createRange();
oTR.pasteHTML(hTag);
</code>

Please Provide me some help. I need it desperately.

Very very very thanks in advance.

Kumar Anupam


Thanks & Regards<br /> <br />Anupam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in using DHTML Object Model
 
Similar Threads
validator requiredIf checking two conds
Displaying an image from xml source element
Not able to retrieve the request attribute that was set using c:set tag.
how to design this JSP. need ur suggestion
validation in tomcat 4.1