PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Calling browser procedures
Calling browser procedures
Started by rafadev, Aug., 21 2014 1:05 PM - 5 replies
Connect yourself…
rafadev
#1
Registered member
49 messages
Posted on August, 21 2014 - 1:05 PM
Hi everybody
We can call a
browser
code by the function ExecuteProcess() from the server code.
>But there is another way for do that without this function?
Report
0
0
Diego Sanchez
#2
Registered member
39 messages
Posted on August, 21 2014 - 4:22 PM
What are you trying to acomplish ?
--
Diego Sanchez
>Tecnoinformática S.A.
Report
0
0
rafadev
#3
Registered member
49 messages
Posted on August, 21 2014 - 4:56 PM
I want to call a BROWSER procedure FROM the SERVER code. If it was the opposite, I will do that with AjaxExecute(). Do you understand me?
Report
0
0
Fabrice Harari
#4
Posted on August, 21 2014 - 7:36 PM
Hi
This is not directly possible.
In order to achieve something like that, you need:
---on the
BROWSER
SIDE----
- a
timer
on the
browser
side
- the
browser
procedure called by the
timer
checks the content of a
hidden
field
- based on the content, the
timer
will call this procedure or that
procedure using executeprocess (in
browser
code)
---on the SERVER SIDE-----
- any code with AJAX checked can set a value in the
hidden
field
- the automatic ajax system will send the value to the
browser
side
where the
timer
called procedure will find it and work accordingly
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 8/21/2014 8:56 AM, rafadev wrote:
I want to call a
BROWSER
procedure FROM the SERVER code. If it was the
>opposite, I will do that with AjaxExecute(). Do you understand me?
Report
0
0
rafadev
#5
Registered member
49 messages
Posted on August, 22 2014 - 10:22 AM
Thanks Fabrice, this isn't a clean method.. but effective
>
Report
0
0
Fabrice Harari
#6
Posted on August, 22 2014 - 1:25 PM
Sorry about that, but I'm not a cleaning lady, so I don't care
And because on the web we are in fact working with two separate
programs, one on the
browser
, and the other on the server, it's pretty
much always this kind of technique that is used. Ajax is basically doing
the same thing, but at the
browser
/system level
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 8/22/2014 2:22 AM, rafadev wrote:
> Thanks Fabrice, this isn't a clean method.. but effective
>
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