[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
How do you do this?
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 13
Thread images: 2
File: webquest.gif (417 KB, 1161x572) Image search: [Google]
webquest.gif
417 KB, 1161x572
I added a .gif to illustrate my question because there were some misunderstanding in m previous, now archived thread.
>>51560200

By the way if i click on the right window (with the plain {"gpio_0":"1","gpio_2":"1"} text to show the source it is just shows the same {"gpio_0":"1","gpio_2":"1"} text)

So how would i do this? (btw the text in the right window updates real time)
>>
File: gifsmall1.webm (343 KB, 1161x572) Image search: [Google]
gifsmall1.webm
343 KB, 1161x572
in glorious .webm

i included cursor movements which ou can follow to see what happens
>>
Is this actual black magic?
>>
Seems pretty simple to implement with AJAX... Just use whatever framework you want and properly set the content type for the "subpage"
>>
>>51569705
>uses json for no reason.

>2 chars would be much better, think of all the bandwidth saved.

In all seriousness this is pretty easy I'm sure you could do it in like < 30 mins with ajax.
>>
>>51572162
OP here, i have pretty much zero knowledge of web development besides simple html tags. I want to learn this stuff though. How do i into AJAX?
>>
>>51572466
If adding a jquery dependency is OK, http://api.jquery.com/jquery.ajax/ is pretty easy mode desu
>>
WebSockets or AJAX polling.
>>
If they are both on the same domain, localstorage + updates on storage.

Didn't someone on the other thread give you a working solution?
>>
Use server sent events. WebSockets is probably overkill.

https://en.wikipedia.org/wiki/Server-sent_events
>>
>>51573060
And once again, IE makes an API impossible to use.
>>
>>51573382
kek
>>
>>51573382
there's a polyfill for that.
Thread replies: 13
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.