ios - javascript replaceChild is not showing result in UIWebview -



ios - javascript replaceChild is not showing result in UIWebview -

i trying replace tag in html tag using this

if (tmp.tagname === 'meter') { var newmin = tmp.getattribute('min'); var newmax = tmp.getattribute('max'); var newval = tmp.getattribute('value'); var style = "color:green;background:white"; var newnode = document.createelement('progress'); newnode.setattribute('min', newmin); newnode.setattribute('max', newmax); newnode.setattribute('value', newval); newnode.setattribute('style', style); tmp.parentnode.replacechild(newnode, tmp); }

it replacing tag able see replaced tag in safari debugger in app view tag not rendering. idea?

javascript ios uiwebview

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -