Archived from groups: microsoft.public.pocketpc (More info?)
Hi,
After browsing around the web, I seem to get the impression that the
innerHTML tag is not supported by pIE for DIVs, even though 'some'
DHTML is supported for pIE. Are there any updates or plans for updates
to support this?
Failing that, is there a workaround?
I created a quiz site using php, javascript and DHTML. Basically, the
user gets a question, presses a button and the answer is displayed
below the question.
Archived from groups: microsoft.public.pocketpc (More info?)
"Jakanapes" <Jakanapes@aol.com> wrote in message
news:1116529585.079766.251530@g43g2000cwa.googlegroups.com...
> Hi,
>
> After browsing around the web, I seem to get the impression that the
> innerHTML tag is not supported by pIE for DIVs, even though 'some'
> DHTML is supported for pIE. Are there any updates or plans for updates
> to support this?
>
> Failing that, is there a workaround?
>
> I created a quiz site using php, javascript and DHTML. Basically, the
> user gets a question, presses a button and the answer is displayed
> below the question.
>
> Here is the code snippet to print the answer:
>
> <script language="JavaScript">
> function printAnswer( txt ) {
> document.all.ansLayer.innerHTML = txt;
> }
>
> And here is the calling code:
>
> <form name="answerPrint">
> <input type="button" value="Click for answer"
> onclick="printAnswer('<? echo $input ?>');">
> <div id="ansLayer">
> </div>
> </form>
>
> This works beautifully on IE and Mozilla and I'd like to make it work
> for pIE.
>
> Any suggestions are appreciated..
>
Archived from groups: microsoft.public.pocketpc (More info?)
On 19 May 2005 12:06:25 -0700, "Jakanapes" <Jakanapes@aol.com> wrote:
>Hi,
>
>After browsing around the web, I seem to get the impression that the
>innerHTML tag is not supported by pIE for DIVs, even though 'some'
That's correct. In fact, any form of dymamic page rewriting (image
switching aside, any HTML rewriting) isn't available on any current
Pocket IE install I've used. It might work on the new WM2005 but I
haven't got a way to test it.
>DHTML is supported for pIE. Are there any updates or plans for updates
>to support this?
>Failing that, is there a workaround?
Not that I'm aware of. innerHTML is just not going to work. Maybe you
could make a form element (textarea) and style it with CSS to look
like your DIV ?
Cheers - Neil
>I created a quiz site using php, javascript and DHTML. Basically, the
>user gets a question, presses a button and the answer is displayed
>below the question.
>
>Here is the code snippet to print the answer:
>
><script language="JavaScript">
>function printAnswer( txt ) {
>document.all.ansLayer.innerHTML = txt;
> }
>
>And here is the calling code:
>
><form name="answerPrint">
><input type="button" value="Click for answer"
>onclick="printAnswer('<? echo $input ?>');">
><div id="ansLayer">
> </div>
></form>
>
>This works beautifully on IE and Mozilla and I'd like to make it work
>for pIE.
>
>Any suggestions are appreciated..
Archived from groups: microsoft.public.pocketpc (More info?)
"Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
news:30ur81huc52stre2iag3erpcpg73g5j45u@4ax.com...
> On 19 May 2005 12:06:25 -0700, "Jakanapes" <Jakanapes@aol.com> wrote:
>
>>Hi,
>>
>>After browsing around the web, I seem to get the impression that the
>>innerHTML tag is not supported by pIE for DIVs, even though 'some'
>
> That's correct. In fact, any form of dymamic page rewriting (image
> switching aside, any HTML rewriting) isn't available on any current
> Pocket IE install I've used. It might work on the new WM2005 but I
> haven't got a way to test it.
I'm going to have to respectfully disagree, mainly because I am actually
doing this. I'm using PIE on 2003 (are you using 2002?). I found a sample on
the ms site which dynamically loads a remote xml file and populates a drop
down list. When the list is changed and a button is pressed, three divs on
the page are updated using the datasource. It uses innerHTML property for
the divs. I found the DOM to being a bit different to reference them was my
main hang up.
>
>>DHTML is supported for pIE. Are there any updates or plans for updates
>>to support this?
>>Failing that, is there a workaround?
>
> Not that I'm aware of. innerHTML is just not going to work. Maybe you
> could make a form element (textarea) and style it with CSS to look
> like your DIV ?
>
> Cheers - Neil
>
>
>>I created a quiz site using php, javascript and DHTML. Basically, the
>>user gets a question, presses a button and the answer is displayed
>>below the question.
>>
>>Here is the code snippet to print the answer:
>>
>><script language="JavaScript">
>>function printAnswer( txt ) {
>>document.all.ansLayer.innerHTML = txt;
>> }
>>
>>And here is the calling code:
>>
>><form name="answerPrint">
>><input type="button" value="Click for answer"
>>onclick="printAnswer('<? echo $input ?>');">
>><div id="ansLayer">
>> </div>
>></form>
>>
>>This works beautifully on IE and Mozilla and I'd like to make it work
>>for pIE.
>>
>>Any suggestions are appreciated..
>
Archived from groups: microsoft.public.pocketpc (More info?)
<vinodbijlani@gmail.com> wrote in message
news:1117470851.289862.138720@g43g2000cwa.googlegroups.com...
> Guys,
> i facing is a similar problem...trying to access at tag using
> var divs = document.all.tags("DIV" )
>
> tried the below too
> var e1 = document.all[0];
> alert(e1);
>
> I thought Pocket PC was IE 4.01 ..this should have worked in IE 4.01
>
> any work around to get this working????
>
> google thread -
> http://groups-beta.google.com/grou [...] 930cbe9e41 >
Archived from groups: microsoft.public.pocketpc (More info?)
On 30 May 2005 18:42:13 -0700, vinodbijlani@gmail.com wrote:
>thanks for the help guys. fixed the problem.
>yes form.elements works just fine PPC 2003.
So to confirm, div's are children of a ~form~ element (if present) in
PIE but ~not~ children of the document ?
Cause all I can see in the document object are HTML3.2 objects like
form and image collections, rather than what you'd anticipate which is
named DIVs as children of the document (or document.all or DOM
elements)
Archived from groups: microsoft.public.pocketpc (More info?)
"Neil Smith [MVP Digital Media]" <neil@nospam.com> wrote in message
news:l4bo91h24df2vovo36lba3gt7ur9nia5tf@4ax.com...
> On 30 May 2005 18:42:13 -0700, vinodbijlani@gmail.com wrote:
>
>>thanks for the help guys. fixed the problem.
>>yes form.elements works just fine PPC 2003.
>
> So to confirm, div's are children of a ~form~ element (if present) in
> PIE but ~not~ children of the document ?
I think that has been my observation from over here. (I should have
mentioned the form requirement, when I posted that snip earlier).
I've also had success like this:
document.form[0]['divID']
I personally can't get the document.elements or document.forms[0].elements
to work.
>
> Cause all I can see in the document object are HTML3.2 objects like
> form and image collections, rather than what you'd anticipate which is
> named DIVs as children of the document (or document.all or DOM
> elements)
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.