Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by EFuerte
at 2024-08-01 15:17:15
Point:500 Replies:2 POST_ID:828657USER_ID:11539
Topic:
PHP Scripting Language;;
Hi Experts!
Accordingly with the code below I'm using jQuery to call PHP code that fires a stored function.
Depending on the stored function return, a javascript function: remove_selected_nodes();
could or not run.
How to obtain the return value from the jQuery code ?
Accordingly with the code below I'm using jQuery to call PHP code that fires a stored function.
Depending on the stored function return, a javascript function: remove_selected_nodes();
could or not run.
How to obtain the return value from the jQuery code ?
function deletaNodo(){ value2 = $('#nodename').val(); $('#divResultados').load('Teste_Elimina_Nodo_DespGer.php',{param1: id_sel.valueOf()});if ( xxx = "OK") // The result is posted in the div but how to obtain it here ?{ // Elimina o nodo remove_selected_nodes(); }} 1:2:3:4:5:6:7:8:9:10:11:12:13:
Thanks in advance.
Author: EFuerte replied at 2024-08-02 04:05:25
Exactly, thank you very much!
Accepted Solution
Expert: duncanb7 replied at 2024-08-01 23:01:40
500 points EXCELLENT
Is it what you want ?
function deletaNodo(){ value2 = $('#nodename').val(); $('#divResultados').load('Teste_Elimina_Nodo_DespGer.php',{param1: id_sel.valueOf()});if ( $("#divResultados'').text() == "OK") // The result is posted in the div but how to obtain it here ?{ // Elimina o nodo remove_selected_nodes(); }} 1:2:3:4:5:6:7:8:9:10:11:12:13: