Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14437

jQuery Mobile code assist for IDs should work for empty href=""

XMLWordPrintable

      1. Create the following HTML5 file:

      <!DOCTYPE html>
      <html>
      <head>
          <meta name="viewport" content="width=device-width, initial-scale=1">
          <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
          <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
          <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
      </head>
      <body>
         <div data-role="page" id="page-1">
           <div data-role="content">
        	<a href="#page-2" data-role="button">Link button</a>
           </div>
         </div>
      
         <div data-role="page" id="page-2">
           <div data-role="content">
        	Some Text
           </div>
         </div>
      </body>
      

      2. Ctrl+Space for <a href="#page-2" ...> will show the list of page IDs (page-1|page-2) only if the user has typed # : <a href="#|
      Let's show all the available IDs even for empty href attributes: <a href="|

            alexeykazakov Alexey Kazakov
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: