[Gambas-devel] for future gambas development

Ron Onstenk ronstk at ...124...
Mon Aug 21 20:08:39 CEST 2006


On Monday 21 August 2006 18:38, Benoit Minisini wrote:
> Something that could be like 'document[IdFromGambas].Html = HtmlFromGambas'. 
> Eveything would be parse by the browser then.
> 


<div id=gb1> <span id=gb2> bal1 bla2 </span> . </div>

document['gb1'].innerHTML = ' <span id=gb2> bal1 bla2 </span> . '
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp


document['gb1'].innerText = '  bal1 bla2  . '
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innertext.asp


document['gb1'].outerHTML = '<div id=gb1> <span id=gb2> bal1 bla2 </span> . </div>'
document['gb2'].outerHTML = '<span id=gb2> bal1 bla2 </span>'
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/outerhtml.asp

document['gb2'].outerText = '<span id=gb2> bal1 bla2 </span>'
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/outertext.asp

For IE yes it works :)
I did use it in the past for heavy working on a webbased repair form
Inserting row for new repair, remove and editing.
 



This kind of stuff works with IE (100%)
Firefox/mozilla almost also OK (99%)
Konqueror should do to but was the last one able todo 
and I'm not sure it does it fully yet (90%).
Opera unknown to me

Ron


-- 
The only bug free software from MickySoft is 
still shrink-wrapped in their warehouse...




More information about the Devel mailing list