[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
>javascript:void(0);

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

Thread replies: 12
Thread images: 3
File: 187.jpg (84 KB, 1024x768) Image search: [Google]
187.jpg
84 KB, 1024x768
>javascript:void(0);
>>
>Middle click to open in new tab
>It doesn't fucking work because the link is actually bound to some shitty javascript handler
>>
File: 1293394511647.gif (3 MB, 350x263) Image search: [Google]
1293394511647.gif
3 MB, 350x263
>>54907104
>>
>>54907104
>>54907476
>>54907072
Thought I was the only one that got this.
>>
>>54907072
how to spot nigger code
>>
>>54907072
what should be used instead? I'm using react, so I dont even type the href atribute for certain elements, but generally speaking if I ever had to write html which is bound to javascrpt function, what would you do ?? '#'??
>>
>>54907072
>2016
>using eval()
holy fucking shit
>>
>>54907558
Ya the # links seem to be the standard now for client side URL routes
>>
>>54907715
I fucking hate the #, if for whatever reason I use an anchor without a link i'll go with void(0).
>>
File: not-this-shit-again.jpg (156 KB, 1920x1080) Image search: [Google]
not-this-shit-again.jpg
156 KB, 1920x1080
>>54907072
>mfw
>>
>>54907072
based brann
>>
>>54907738
>waah waah, standards get my titties twisted
>I'm special, I'll do it my way
Thread replies: 12
Thread images: 3

[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.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK