[ 3 posts ]

Matt

  • Username: White Tiger
  • Joined: Fri Aug 21, 2009 5:05 am
  • Posts: 3
  • Offline
  • Profile

Multiple Editors

Post Posted: Mon Aug 24, 2009 4:55 am
+0-
Hi I can't seem to show mulitple editors. :| Heres a basic version of what i am trying to do

<%for i = 1 to 5%>

<form name="msgform<%=i%>" method="post" action="update.asp">

<textarea name="msgpost<%=i%>" id="msgpost<%=i%>"></textarea>

<script language="javascript" type="text/javascript">
var myEditor<%=i%> = new YAHOO.widget.Editor('msgpost<%=i%>', {
width: '830px',
height: '250px',
dompath: true, //Turns on the bar at the bottom
animate: true, //Animates the opening, closing and moving of Editor windows
handleSubmit: true
});
myEditor<%=i%>.render();

</script>

<input type="submit" name="submit" value="Update">
</form>

<%next%>

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Multiple Editors

Post Posted: Mon Aug 24, 2009 5:05 am
+0-
Matt --

The code appears fine, so you have a link so I can see it erring?

Matt

  • Username: White Tiger
  • Joined: Fri Aug 21, 2009 5:05 am
  • Posts: 3
  • Offline
  • Profile

Re: Multiple Editors

Post Posted: Mon Aug 24, 2009 5:20 am
+0-
Hi Dav,

Sorry, im being an idiot! its my own stupid coding that was throwing it. :roll:

thanks for the amazingly quick response :D

Matt
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum