PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Browser YesNo
Browser YesNo
Started by Zach Allen, Apr., 14 2014 8:45 PM - No answer
Connect yourself…
Zach Allen
#1
Posted on April, 14 2014 - 8:45 PM
Hi all,
I'm trying to get YesNo to work in browser code so that I can run my server code in AJAX.
I don't want to use Cells or Popups because I have multiple buttons that I need to ask Yes No with different text and different server code. ie (Save), (Save and Close) and (Save and Next)
These are some of my attempts so far:
Some of them may not make sense but I'm just trying to get it to popup right now.
My goal is to have the YesNo on the browser code of a button.
When Yes is pressed, the server code of the button will run.
When No is pressed, the button will not run the server code and return.
YesNo
(
0
,
""
,
ReturnToCapture
(
)
,
"Are You Sure?"
)
YesNo
(
0
,
""
,
""
,
"Are You Sure?"
)
YesNo
(
0
,
RETURN
,
RETURN
,
"Are You Sure?"
)
YesNo
(
0
,
""
,
"RETURN"
,
"Are You Sure?"
)
I've put a trace around each attempt ie:
Trace
(
"Start"
)
YesNo
(
0
,
""
,
ReturnToCapture
(
)
,
"Are You Sure?"
)
Trace
(
"End"
)
Every single attempt has printed out the first trace("Start") and that is it.
No second trace and no popup.
I've also tried all of these options with the first optional parameter(0) omitted as well.
The example in WebDev for YesNo in WWDialog is only for the server code version.
Has anyone been able to get YesNo to work in the Browser?
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text