1

我正在尝试开发一个移动应用程序,我想以弹出的形式打开一个页面

我使用这个代码:

$('#header-left-container').prepend(results.rows.item(i).LibelleTypeTravail +"" +
                    "<br>" +
                    "<a  href='#null' onclick='open_infos()'  > <img src='../js/images/add.png' > </a>" +
                    "<textarea rows='6'  cols='60'  name='"+results.rows.item(i).LibelleTypeTravail+"'> </textarea><br><br>" );


function open_infos()
 {
 window.open('../prestation_html/list_rubrique.html','nom_de_ma_popup','menubar=no, scrollbars=no, top=100, left=100, width=300, height=200');
 }

但它不起作用,它使模拟器在灰色页面上崩溃

4

0 回答 0