User Profile
Collapse
-
Why is preg_replace replacing only last occurance of target in string?
I am developing an authoring system that includes footnote functionality. The system stores data as htmlspecialchar s encoded html. Footnotes are numbered in the source without regard to where the footnote appears in the text. So, footnote 5 could preceed footnote 1 in the html. When its time to process the document for presentation I am re-assigning the footnote numbers so that they appear sequentially in the text. I am trying to do this using... -
Thanks for the suggestions Clint. The first approach you are suggesting I don't think will work because the context of the object is such that a reference to "this" outside of the constructor will be an undefined object (or am I off track with that?)
The way the objects are used is such that I don't think that the style attribute is a subset of obj....
The later explanation is probably right on for firefox.... -
Firefox error obj.style has no properties
Greetings all. If only I was a little braver I would just shoot myself and end my misery but since I am not - please shoot me!!! I mean HELP me :)
Picture a named form with contents defined as follows:
[HTML]
<form name="myform">
<div id="extrawhatev er" style="visibili ty: 'hidden'> <!-- div and select do share -->
<select name="extrawhat ever">...
No activity results to display
Show More
Leave a comment: