Skip to content Skip to sidebar Skip to footer

Xsl Not Rendering/acting Properly In Chrome

So, I'm working on updating 10-12 year old code to be Chrome compatable, and I've stalled out already. For whatever reason, when I input a number and then click the 'fillPO' butto

Solution 1:

Wild guess: replace document.getElementById('genericPO').getAttribute('value') with document.getElementById('genericPO').value.

But we really need to see a sample allowing us to reproduce the problem in Chrome.

Solution 2:

Because there is no obvious problem (at least for me) in your posted code fragments. Here some Debug hints (which may help a little bit):

  • Consider to have a look to the generated html (perhaps copy and format it) and compare it against the IE generated html. This could be done in the Elements tab of chrome debugger.
  • Try to set an breakpoint in the possible not working javascript function.
  • If this still does not help. Consider to copy the probably server-sided generated xml. This could be done within the "Network" tab in chrome debugger. Try to reduces the xml and test it offline to find the trouble causing part.
  • If debugging doses not work as expected. Add some console.log("test point");or alert() calls to the javascript.

(.. may be continued ..)

Post a Comment for "Xsl Not Rendering/acting Properly In Chrome"