putting selected text in textarea i a string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • R.G. Vervoort

    putting selected text in textarea i a string

    Is it possible to change selected text in a textarea without using java and
    only php or html.

    There are lots of solutions in a javascript but i would like to try it
    without. If it is possible to place the in a textarea selected text in the
    return of a function i like to believe is can be done. So how kan i put
    selected text in a string.

    tanks

    roy






  • Inuyasha4Life

    #2
    Re: putting selected text in textarea i a string

    R.G. Vervoort wrote:
    [color=blue]
    > Is it possible to change selected text in a textarea without using java
    > and only php or html.
    >
    > There are lots of solutions in a javascript but i would like to try it
    > without. If it is possible to place the in a textarea selected text in the
    > return of a function i like to believe is can be done. So how kan i put
    > selected text in a string.
    >
    > tanks
    >
    > roy[/color]

    Negative for PHP. PHP is a server-side language -- you cannot have the
    client's computer run PHP. I doubt it for HTML -- but then again that's not
    my specialty (if you're wondering how I do PHP without HTML, it's simple. I
    have someone else write the HTML -- actually XHTML -- and then I code in
    the PHP into it ^_^ )

    -- Inuyasha4Life

    Comment

    Working...