Click here to Skip to main content
15,886,798 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have an ajax function which calls the page news.php. In this page I have a javascript but how can I call it? Because I want to make a slideshow with pictures which gets her values from a database. For get the values out of the database I need php but for the slideshow I need Javascript.
So how can I call the functin slideshow ()?

The only solution I got by google is:
echo "<script type=\"text/javascript\" language=\"Javascript\">slideshow ();</script>";

but it don´t works

Is there any solution without something like jQuery?
Posted
Updated 16-Sep-12 4:06am
v2

1 solution

 
Share this answer
 
Comments
Chi Ller 12-Sep-12 13:09pm    
yeah sure google is my friend but I am German so I am serching for German results and there are no working results
Joan M 12-Sep-12 15:09pm    
Well... I'm catalan and I've found several things related to your question... Has any of the proposed links helped you? do you need further help?
Chi Ller 13-Sep-12 11:48am    
sorry I can´t look at them before Saturday
Mohibur Rashid 13-Sep-12 0:56am    
You didnt show how you handle onreadystatechange. if you use proper jquery ajax function then function that is being called on success.
Joan M 13-Sep-12 2:36am    
?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900