GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 25-Apr-2007, 09:43
netpsycho netpsycho is offline
Awaiting Email Confirmation
 
Join Date: Apr 2007
Location: Oslo, Norway
Posts: 7
netpsycho is on a distinguished road

Calling Javascript functions after AJAX post


I have a page that I retrieve via a simple AJAX post which contains the following:

HTML Code:
<script type="text/javascript">clearText("message");</script>

The page loads fine, but the javascript function call is never made. I could put anything there and it wouldn't even generate an error. Is it because I got the page via AJAX that the function doesn't get automatically called?

Is there a better way to do this?


PS: I know that there is a better way to say it than "AJAX post", but I can never remember the real name of the process. I hope that you understand what I am saying at least.
  #2  
Old 25-Apr-2007, 15:45
netpsycho netpsycho is offline
Awaiting Email Confirmation
 
Join Date: Apr 2007
Location: Oslo, Norway
Posts: 7
netpsycho is on a distinguished road

Re: Calling Javascript functions after AJAX post


Forget me; I figured it out. Realized that using the wonderful www.prototypejs.org saves me a lot of work and pain...



Plus, I think I may have messed up somewhere..
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
An Introduction to Javascript JasonMichael Web Design Forum 2 24-Oct-2004 11:19
Having problem in calling functions inthe main harsha C Programming Language 1 13-Oct-2004 01:05
Calling functions within a function spudtheimpaler C Programming Language 5 02-Mar-2004 09:02
New to C...need help calling functions rbeierle C Programming Language 3 10-Feb-2004 19:46
JavaScript Tutorial Part 1 pcxgamer Web Design Forum 2 01-Dec-2003 10:16

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 14:56.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.