Home > Software engineering >  find text inputs from another jsp page loaded with jquery
find text inputs from another jsp page loaded with jquery

Time:02-10

I have a form with tabs that integrate another jsp page using jquery's load method. How can I search the components of the loaded page using jquery?

      $('#div').load(embeddedpage.jsp, function(response, status,
        xhr){
       $('#builtinform :input').each(function (){
           if($(this).attr('class') == "myclass"){
          ...but can't find the component
           }
        }
     }

CodePudding user response:

  •  Tags:  
  • Related