get selected HTML Source Code
5 posts
• Page 1 of 1
get selected HTML Source CodeHow can I get the selected HTML source code?
This code gets the selected text. I would like to get the HTML source code or the ID of selected HTML element.
|
Re: get selected HTML Source CodeIE offers a command that can get you the HTML of the selection I believe, for other browser I have a snippet... but not on this PC. PM me or reply on this topic to remind me to look it up for you.
Freelance webdeveloper, FCKeditor plugin developer. FCKeditor contributor.
FCKPlugins: http://www.saulmade.nl/FCKeditor/FCKPlugins.php FCKSkins: http://www.saulmade.nl/FCKeditor/FCKSkins.php FCKSnippets: http://www.saulmade.nl/FCKeditor/FCKSnippets.php
|
Re: get selected HTML Source CodeHello, i'd also like to know a solution to this problem.
Thanks in advance.
|
Re: get selected HTML Source CodeHi, thanks for reminding. The function to get the HTML of a selection is
Call the function like this
Freelance webdeveloper, FCKeditor plugin developer. FCKeditor contributor.
FCKPlugins: http://www.saulmade.nl/FCKeditor/FCKPlugins.php FCKSkins: http://www.saulmade.nl/FCKeditor/FCKSkins.php FCKSnippets: http://www.saulmade.nl/FCKeditor/FCKSnippets.php
|
Re: get selected HTML Source CodeOops, there was a bug in the getSelectionHTML function. I've corrected in the post here above.
Freelance webdeveloper, FCKeditor plugin developer. FCKeditor contributor.
FCKPlugins: http://www.saulmade.nl/FCKeditor/FCKPlugins.php FCKSkins: http://www.saulmade.nl/FCKeditor/FCKSkins.php FCKSnippets: http://www.saulmade.nl/FCKeditor/FCKSnippets.php
|
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot], Yahoo [Bot] and 4 guests