rhomobile

jquery mobile page flicker

半腔热情 提交于 2019-12-03 17:35:34
after page load and when doing listview('refresh') the page flickers. So after transition get a flicker and after $('#friendsList').append('#{data}').listview('refresh'); I get a flicker tried adding <style> /*** for jquerymobile page flicker that was happending ***/ .ui-page { -webkit-backface-visibility: hidden; } </style> EDIT When refreshing the listview, I understand the flicker inside the listview but is it suppose to make the entire page flicker to? EDIT 2 If list height is > screen height page flickers. If list height < screen height page doesn't flicker. If anyone is having the same

Calling finance.yahoo api using jquery

故事扮演 提交于 2019-12-01 12:10:15
I want to send http request for fetching finance.yahoo stock data with url like : http://finance.yahoo.com/d/quotes.csv?s=GAIL.NS+BPCL.NS+%5ENSEI&f=snl1hgp which returns a csv file. I want to read the response data and fill it in a listview using Javascript or JQuery mobile. None of the links I referred helped me. I tried using the following code: $.ajax({ type: "GET", url: "http://finance.yahoo.com/d/quotes.csv", data: "s=GAIL.NS+BPCL.NS+%5ENSEI&f=snl1hgp", dataType: "text/csv", success: function(data) { alert(JSON.stringify('data is :' + data)); } }); I get blank data as alert. Any sample

Calling finance.yahoo api using jquery

一曲冷凌霜 提交于 2019-12-01 10:31:24
问题 I want to send http request for fetching finance.yahoo stock data with url like : http://finance.yahoo.com/d/quotes.csv?s=GAIL.NS+BPCL.NS+%5ENSEI&f=snl1hgp which returns a csv file. I want to read the response data and fill it in a listview using Javascript or JQuery mobile. None of the links I referred helped me. I tried using the following code: $.ajax({ type: "GET", url: "http://finance.yahoo.com/d/quotes.csv", data: "s=GAIL.NS+BPCL.NS+%5ENSEI&f=snl1hgp", dataType: "text/csv", success: