I'm doing the same thing with this for innerHTML and it works as expected?
<script language="javascript">
<!--
var m_sNS = '<%=this.ClientID%>_';
function nsCategorySuccessFunc(resu
{
Fat.fade_all();
dnn.dom.getById(m_sNS + 'NSListContent').innerHTML
var oldurl = dnn.dom.getById(m_sNS + 'NSFeedLinkTop').href;
var newurl = oldurl.replace(/&cat=.*[0-
dnn.dom.getById(m_sNS + 'NSFeedLinkTop').href = newurl;
dnn.dom.getById(m_sNS + 'NSFeedLinkBottom').href = newurl;
}
function nsCategoryErrorFunc(result
{
alert(result);
}
function nsPreviousSuccessFunc(resu
{
Fat.fade_all();
var oldpage = dnn.dom.getById(m_sNS + 'inpPage').value;
var newpage = parseInt(oldpage) - 1;
dnn.dom.getById(m_sNS + 'inpPage').value = newpage;
dnn.dom.getById(m_sNS + 'NSListContent').innerHTML
}
function nsPreviousErrorFunc(result
{
alert(result);
}
function nsNextSuccessFunc(result, ctx)
{
Fat.fade_all();
var oldpage = dnn.dom.getById(m_sNS + 'inpPage').value;
var newpage = parseInt(oldpage) + 1;
dnn.dom.getById(m_sNS + 'inpPage').value = newpage;
dnn.dom.getById(m_sNS + 'NSListContent').innerHTML
}
function nsNextErrorFunc(result, ctx)
{
alert(result);
}
//-->
</script>
additionally, the value remains the old value from server side inspection as well.
Main Topics
Browse All Topics





by: mshogrenPosted on 2006-02-24 at 14:50:02ID: 16043165
View source does not take into account any changes to the DOM since the page originally loaded. To see the rendered source you have a couple of options. In Firfox the web developers toolbar extension has an option to display the rendered source. /extension s/moreinfo .php?id=60 bookmarkle ts/ webdeve l.html#gen erated_sou rce
https://addons.mozilla.org
In most browsers you can create a book mark which will display the generated source. Check this out here:
http://www.squarefree.com/