Hi Dan,

beam used:
var inputValue = $("#keyword").val();
        alert(inputValue);

for:
var inputValue = $("#keyword").attr('value');
        alert(inputValue);

es una segunda forma, espero que sirva
Andrés Muñoz.


2010/8/26 黄旭 <danial.hu...@gmail.com>

> Hi,
>
> Seems that the ClueTip has a bug on it's generated elements?
> I got a problem like below, just can not get the value of the text field.
>
> <script type="text/javascript">
>   $(function() {
>     $('a.ClueTip').cluetip({
>       local: true,
>       sticky: true,
>       closePosition: 'title',
>       activation: 'click'
>     });
>     $("#showTip").click(function() {
>         var inputValue = $("#keyword").val();
>         alert(inputValue);
>       });
>   });
> </script>
> <a class="ClueTip" href="#" rel="#tipPop" title="Clue Tip
> Popup">Search</a>
> <table id="tipPop">
> <tr>
> <td><input id="keyword" type="text"/></td>
> <td><input id="showTip" type="button" value="GO" /></td>
> </tr>
> </table>
>
> Anyone can help me?
> Thanks,
> -Dan
>
> --
> You received this message because you are subscribed to the Google Groups
> "jQuery UI" group.
> To post to this group, send email to jquery...@googlegroups.com.
> To unsubscribe from this group, send email to
> jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.

Reply via email to