0

I'm new to javascript and i'd like to know if it's possible to make appear the value of a custom header inside of an alert box. For example if i set a custom http header named 'test' with value '123' is it possible to make an alert box with '123' as content?

I'm not looking for a simple alert(123) code but something like

alert(custom.header.value)

but i don't know if it's possible since i'm new to javascript. Could you please also let me know a sample valid code? Thanks.

0 Answers0