1

In some website pages, when i try to open the "View Source" with google chrome, and check the hidden values, I find out that the val is blank, but when i inspect the form, i can actually see the content of that hidden value,

for example, this site, when i try check the source i can't see the nid value, I think it has something to do with this function,

<script type="text/javascript">
    function upuid(a){
        $('input[name="nid"]').val(a)
    }
</script>

but I can't find where it is being called and what is the a parameter.

Thank you.

2 Answers 2

1

The view page source page shows you the exact text that was returned by the server. Inspect element actually shows you the fully rendered DOM tree.

Sign up to request clarification or add additional context in comments.

Comments

0

The value is set from the client side. That's why you can't see it in the source. My guess the method get's called from the https://www.clixsense.com/uid.swf through ExternalInterface.call. The "a" is a string, and in this case it's a unique identifier.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.