Путь:
Quick Links
Language [ ENGLISH РУССКИЙ ]
Search
Подписка и соц. сети
New Materials
- Buy instagram followers 2020-09-09
- FISCAL FEDERALISM THE CANADIAN EXPERIENCE 2020-03-22
- Analysis of differentiation of socio-economic development of the Russian regions 2020-03-22
- Economic development in the Russian regions institutional and macroeconomic problems 2020-03-22
- Russias North Economic Problems of Development 2020-03-22
- Problems of Fiscal Federalism in Russia 2020-03-22
- REGIONAL ASPECTS OF THE FEDERAL ECONOMIC POLICY 2020-03-22
- THE TELEVISIONS PROJECT 2020-03-22
- Journeys into History Through the Future 2020-03-22
- Artists Bring the Computer to Life 2020-03-22
- Culture in the Upcoming Millenium 2020-03-22
- What is a work of telecommunicative art 2020-03-22
- Tatiana Didenko Executive Producer 2020-03-22
- ABC Amber Conversion and Merging Software 2019-12-08
- Human-Rights Journal Finds Survival Hard in New Russia 2018-03-12
Картинка недели
Back to top
To the end
Create a personal gallery (section)
Create a personal album (with images)
Create article
Developers
Evaluation section:
3
Категории
Integration SpiderBasic and WFI
Date of publication: 2014-05-29 09:09:22Views: 41442
Author: Мета Гость
Your application in SpiderBasic receives data from a completed form, sends them to the server ajax request and locates in Corresponding div container receiving the server response.
Example of integration actually replaces comment form at the bottom of the page.
Source code form.Procedure HttpGetEvent(Success, result.s)If SuccessDebug result;!alert(v_result);!document.getElementById('com_loader').innerHTML = v_result;ElseDebug "HTTPRequest(): Error"EndIfEndProcedureGlobal ListView1, Button1, Tree1Procedure SizeWindowEvent()ResizeGadget(0, 10, 10, WindowWidth(0)-20, WindowHeight(0)-20)EndProcedureProcedure CloseWindowEvent()CloseWindow(EventWindow())EndProcedureProcedure GadgetEvents()Select EventGadget()Case 1DisableGadget(1,1)url$="act=com_add&com_nav=191&com_lang=2&com_item=&com_olp=integration spiderbasic and wfi&com_title="+GetGadgetText(2)+"&com_mail="+GetGadgetText(3)+"&com_name="+GetGadgetText(4)+"&com_msg="+GetGadgetText(5)+""HTTPRequest(#PB_HTTP_Post, "http://wfi.lomasm.ru/rus.main.ajax/", url$, @HttpGetEvent())EndSelectEndProcedureIf OpenWindow(0, 0, 0, 420, 200, "", #PB_Window_SystemMenu | #PB_Window_ScreenCentered | #PB_Window_SizeGadget)SetWindowTitle(0, "SpiderBasic and WFI example of integration and interaction")StringGadget(2, 10, 10, 170, 20, "title...")StringGadget(3, 10, 40, 170, 20, "mail...")StringGadget(4, 10, 70, 170, 20, "name...")StringGadget(5, 10, 100, 170, 60, "text...")ButtonGadget(1, 10, 170, 200, 20, "SEND", #PB_Button_Left)BindEvent(#PB_Event_CloseWindow, @CloseWindowEvent())BindEvent(#PB_Event_SizeWindow, @SizeWindowEvent())BindEvent(#PB_Event_Gadget, @GadgetEvents())EndIf
Evaluation of the document:
2
Article description: Integration SpiderBasic and WFI
Leave a comment
Similar articles:
Neighboring Topics