Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
mdpc #1
Pasting <input> tag creates unwanted linefeeds
I have written a program that scans an html document and adds <a name> anchors
and creates a Table of Contents document and triple frame parent. However,
when pasting a string of text that includes an input tag <input ...> the result
is a line feed prior to the input tag.
Sample:
<h3>Picture of Book <input src="../images/camera.gif"
onClick="javascript:openLink('../flash/animation.swf')"><h3>
expected output
<h3><a name="Picture of Book "></a>Picture of Book <input
src="../images/camera.gif"
onClick="javascript:openLink('../flash/animation.swf')"><h3>
actual output
<h3><a name="Picture of Book "></a>Picture of Book
<input src="../images/camera.gif"
onClick="javascript:openLink('../flash/animation.swf')">
<h3>
notice how the pasting of the input tag into the DOM creates linefeeds
How do I prevent this behavior.
mdpc Guest
-
Bare Linefeeds in SMTP Messages
I don't know if this is the right forum. I was trying to send out email using CDO.Message. (Windows 2003 Server with IIS 6) But some of our clients... -
Copying and pasting text from INCS2 to webpage creates corrupt characters
We use InDesign CS2 to publish a newspaper. When we are done with the print edition InDesign file, we copy the stories, and then paste them into our... -
$_POST behavior from input=submit vs input-type=button
Hello all, I have been trying to solve an annoying behavior with PHP (I think). Maybe some of you have encountered the same and have some ideas.... -
Perl Newbie question: How would you take keyboard input and run a shell scrip with that input?
I don't think you could be vaguer :) Very basic #!/usr/bin/perl # update.pl multiple options command line my @packages = @ARGV foreach... -
Create Dynamic Input Names or Input Fields in Asp
I have a little code to add multiple items to a shopping cart based page. This code works perfect, but it adds all of the info to the same input... -
Randy Edmunds #2
Re: Pasting <input> tag creates unwanted linefeeds
Go to Edit > Tag Libraries... Then open the HTML folder and select the
INPUT tag. That's where you specify Source Formatting.
HTH,
Randy
> I have written a program that scans an html document and adds <a name> anchors
> and creates a Table of Contents document and triple frame parent. However,
> when pasting a string of text that includes an input tag <input ...> the result
> is a line feed prior to the input tag.
>
> How do I prevent this behavior.Randy Edmunds Guest



Reply With Quote

