
Below is the question from Project Euler and the code I had written to solve it. Feel free to download them then make it better or give comment and suggestion on the solution. Programmer ROCKS!
$('#mydiv_1_0').panesfreezer({
'headerrow': 1,
'headercolumn' : 1
});
No | Browser | Version | OS | Support |
---|---|---|---|---|
1 | Google Chrome | 14.0.835.202 m | Windows 7 | Y |
2 | Firefox | 7.0 | Windows 7 | Y |
3 | Safari | 5.1 | Windows 7 | Y |
4 | Internet Explorer | 9 | n/a | n |
{filename: 'input.dat',total_recipient: '1',totalcolumn: '3',samples: '<table width="400px"><thead><tr><th>Column 1</th><th>Column 2</th><th>Column 3</th></tr></thead><tbody><tr><td>name</td><td>phone no</td><td>address</td></tr></tbody></table>',columntag: '{Col_1},{Col_2},{Col_3},'}As usual it work perfectly on FF 3.5.3, but when come to IE8 I got the error message "Syntax Error: Unterminated string constant".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>ID Test</TITLE>
<script type="text/javascript">
function testnow()
{
inputvalue = document.getElementById('inputvalue').value;
alert ("input value is ["+inputvalue+"]");
}
</script></HEAD>
<BODY>
<H3>Input Text</H3>
<input id="inputvalue" type="tet"></input>
<BR/>
<button onclick="testnow()">click me</button>
</BODY></HTML>