validate dynamically generated variable in using javascript
<p><strong>I have a scenario where i need to check whether a variable is not null using java script</strong> </p>

<p>Now these variables can be generated automatically and their naming convention is going to be like below</p>

<pre><code>**Attribute.1.Name='aaa'
Attribute.2.Name='aaa'
Attribute.3.Name=''**
</code></pre>

<p>and so on.</p>

<p>how do i validate something like this where i do not now the exact variable name. <strong>All i know is the pattern of the variable.</strong></p>

<p>Code example</p>

<pre><code>FunctionName({'Attribute.1.Name':'test','Attribute.2.Name':'test2'});
</code></pre>

<p>Thanks</p>
