![]() |
Need a very simple example AJAX script in vbb
Hi all, I am learning AJAX but I need some example, ex. for loading a text from another php file
I read articles but they are not enough yet. Thank you |
Have you tried doing a search in the modifications forums for mods with the word "ajax" in the title and then downloading them and taking a look at the code?
|
AJAX in general, or AJAX in vBulletin?
|
Quote:
Quote:
|
ajax is basically javascript, so if you have an understanding of javascript, you can probably just go from there.
Did you check out the Articles forums? [Tutorial] Developers Introduction To AJAX Technology Intergrating AJAX Technology Into Your Modifications |
yes i know a bit of javascript, but ajax, i need step to write it. thanks
|
I don't think there are any up-to-date tutorials on AJAX in vBulletin (after it switched to using YUI).
|
<a href="http://developer.yahoo.com/yui/connection/" target="_blank">http://developer.yahoo.com/yui/connection/</a>
|
thanks all for helping me. I have the function how to call back script with a form (I mean something like
HTML Code:
<a href="#" onclick="myfunction(1,true)"> my text id 1 </a> But I need from a link, I mean http://mysite.com/myscript.php?#,1 => Where 1 is my text id and call to the script without by click a form. I hope that you understand, my english is too bad. Thank you again :) |
You need to call your PHP script via AJAX in "myfunction()".
|
All times are GMT. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|