Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable AJAX Timer using Javascript

Status
Not open for further replies.

Peppi

Programmer
Apr 9, 2001
205
CA
Hi,

This is both an AJAX and a Javascript question.

I need to enable/disable the AJAX timer in a Javascript function.

I tried timer.disabled = true; but that doesn't work. A related question is...how do you access and change the properties of an AJAX control (or any server control for that matter) using Javascript?

Thx.
 
If the "control" (presumably you mean some sort of .Net control?) then you'd need to either:

- Submit a form / ajax call / other request to the server to set its properties, or

- Ensure it has a client-side interface you could work with.

Given we know nothing about the control or what it delivers to the page, it's hard to give a more tailored answer.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
And...
...how do you access and change the properties of an AJAX control (or any server control for that matter) using Javascript
There is no such thing as an AJAX control... and I have no idea what you mean by a server control.

Cheers,
Jeff


[tt]Jeff's Page [!]@[/!] Code Couch
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top