Bug Tracker

Modify

Ticket #10325 (closed bug: worksforme)

Opened 20 months ago

Last modified 20 months ago

Can't get value of hidden input

Reported by: francs@… Owned by:
Priority: low Milestone: None
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

Description

I have partial html loaded through ajax get request. Partial include <input type="hidden" value="some number" id="jsInput" />

When I try to read value of that hidden input I got empty string when I use $('#jsInput').val() but $('#jsInput').attr('value') works fine.

Change History

comment:1 Changed 20 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to worksforme
  • Status changed from new to closed
  • Component changed from unfiled to attributes

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.