Hi,
i'am not sure to understand exactly what you want to do. If i understand
right, when you catch on the client side the data you receive with
client.onRaw(); just fire a Javascript function. If you want to know if
the value of lotstatus changed just check when you receive a new value
that is different from the previous value.
I hope I made myself clear.
Cheers.
crusherdestroyer wrote:
> Hi. I'm using inlinepush and it works fantastic so far. Is there any
> way to pass a value using inline push, that will trigger a javascript
> function on the user's side? For example, I am currently passing
> values like this using inline push:
>
> document.getElementById('lotstatus').innerHTML =
> decodeURIComponent(raw.data.lotstatus);
> document.getElementById('message').innerHTML =
> decodeURIComponent(raw.data.message);
> document.getElementById('title').innerHTML =
> decodeURIComponent(raw.data.title);
>
> I need to run a javascript function on the clients side when the
> "lotstatus" value changes. How would I do this? Any help would be
> appreciated. thank you.
>
> Ryan
>
>
--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
Tel: 04 67 169 778 - Fax: 09 57 91 99 91
http://www.weelya.com
http://www.ape-project.org
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/