Access Div from JavaScript

I have the following def -
<style type="text/css">

then there is -
<div id=x1>

and I'm trying to access x1 with -
within javascript but it doesn't work.

Any idea ?
Who is Participating?
BhargavaConnect With a Mentor Commented:
Check if helps

if(IE){ = value;
}else if(Nav){ = value;
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.