Shouldn't be hard at all to have a hidden div prepared.  After the text area
is changed put the script in the div (getelementbyid) and show the div.
I don't think you need ajax for that.  You could certainly write it in
jQuery syntax but any old javascript should do that.  I've never tested it
but I think it should work unless there is some issue with the script you
are pasting.

--
Ryan



On Wed, Jun 3, 2009 at 5:42 PM, Mike Little <[email protected]> wrote:

>
> sorry, could not think of a better subject!
>
> i have a form which an admin enters a embed script such as a youtube video.
> what i would like to achieve is to have a preview button which takes the
> contents of the textarea (ultimately filters the content with my clever
> param filter) and displays the output in a popup similar to...
>
> http://yensdesign.com/tutorials/popupjquery/
>
> (or alternatively the output displays in a div below the textarea?)
>
> i am very new to jquery/ajax and really would like to get into it.
> unfortunately we have issues with using cf8's ajax features on my hosts
> shared server and would like to use native jquery/ajax.
>
> any help/pointers in the right direction would be really appreciated.
>
> mike
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323136
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to