How to use jQuery with in xhtml?

后端 未结 2 411
遇见更好的自我
遇见更好的自我 2021-01-16 17:06

i am using facelets,richfaces,and ajax, in XHTML
i am facing error while creating datepicker! What is the solution for my problem?
the code is:

2条回答
  •  青春惊慌失措
    2021-01-16 18:07

    My problem is : How to use jQuery with in xhtml?

    My Answer is: 1.Create an xhtml page using code given below.

    
    
    
    
        
        
    
    
         
      
            
      
      
      
              
      
          
         
    
    

    2.then try to place JQuery.xx.js & css files below order!

    ---WebContent
    +themes
    +....
    ...jquery-1.4.2.min.js
    ...jquery-ui-1.8.5.custom.css
    ...jquery-ui-1.8.5.custom.min.js

    all these are configured in .xhtml file like above.

    3.General things we need to configure for facelets, richfaces and ajax in web.xml is common,in all the way.
    4.At last it worked Perfectly...
    Thank You Guy's..

提交回复
热议问题