How do I set prompt value using querySelector I want to set input value of max : **How do I set prompt value using querySelector**   
**I want to set input value of max** 

> **var max = prompt(""); // prompt value**
> 
**> var selector = '#list > listitem > label[value=here i want prompt
> value]';**

     var max = prompt("");   
         var selector = '#list > listitem > label[value=max]';
            var node = document.querySelector(selector);
               
                