try regular expressions

http://www.w3schools.com/jsref/jsref_obj_regexp.asp
http://www.w3schools.com/js/js_obj_regexp.asp
or
http://www.regular-expressions.info/javascript.html
http://www.regular-expressions.info/javascriptexample.html

maybe it helps ;)

On 2 Aug., 21:13, cohq82 <quang...@gmail.com> wrote:
> Hi all,
>
> I have my website getting a value as a result of an ajax call. After
> that, I would like to insert that result (a string) into a tag.
> However, I would like to insert that result in a way that (1) it must
> have opacity = 0, then (2) it will slideDown() so the whole content
> list being pushed down using animation, and finally (3) change opacity
> = 1. Imagine this is just like a Facebook message list insert process
>
> The way I am planning to do this is to return the result string from
> ajax to opacity=0 first. However, I don't know how to use jQuery to
> select a tag from within a string. I know jQuery only select from the
> DOM. So how to do this? Any advice?
>
> Thanks

Reply via email to