Your spelling is just a bit off, .lenght should be .length : var action = $(obj).closest("form").attr('action'); alert(action.length);. ... <看更多>
Search
Search
Your spelling is just a bit off, .lenght should be .length : var action = $(obj).closest("form").attr('action'); alert(action.length);. ... <看更多>
if (pid.length). causes a reference error in your script if pid is undefined . So, if you don't know that pid exists ahead of time, then you have to check ... ... <看更多>
... TypeError: Cannot read property 'length' of undefined at Grid.renderRows (jquery.bootgrid.js:585) at update (jquery.bootgrid.js:200) at ... ... <看更多>