Try the val function: http://docs.jquery.com/Val 

 - Michael   



----- Original Message ----
From: wyo <[EMAIL PROTECTED]>
To: jQuery (English) <jquery-en@googlegroups.com>
Sent: Tuesday, October 14, 2008 12:49:58 PM
Subject: [jQuery] Using multiple selectors


I've a form like

<form id="Test" ...>
  <fieldset>
    <table ...>
      <tbody>
      <tr>
        <td><input name="Prefix"></td>

Now I try to access it in the following way:

  $('#Test, Prefix').value = 'Testing";

I also tried

  $('#Test', 'Prefix').value = 'Testing";

with no success. Any idea what's wrong?

O. Wyss

Reply via email to