Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes Programming Web Development by Neil_brown001 … client-side updates via WebSockets. The challenge arises when synchronizing DOM state post-hydration—especially when the component tree changes due… Re: Any jQuery 4 users? Programming Web Development by Neil_brown001 … feels snappier in general, especially when chaining a bunch of DOM manipulations. They’ve removed deprecated methods like .size() and .bind… Re: Any jQuery 4 users? Programming Web Development by jkon … and we prefer not to reinvent the wheel for basic DOM manipulation, we decided to keep it during our last discussion… Re: Any jQuery 4 users? Programming Web Development by gediminas.bukauskas.7 Every additional JS library slows down loading of the site. I haven't used jQuery for a long time, so I would like to know: does the new jQuery have something that can't be done with the DOM API and CSS? Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani … page. Use `defer` if your Javascript file requires the HTML DOM to be ready, or relies on other Javascript files, and… Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by gediminas.bukauskas.7 … is useful in pages with heavy calculations only. JS performs DOM manipulations faster and requires much less resources. Consider WEB components… Re: How to Implement Lazy Loading for Faster Web Portals Programming Web Development by Dani … sense to me based on what I know about the DOM, HTML rendering, and Javascript execution. However, I don't have… DOM Programming Web Development by davy_yg …// Tambahkan buku baru dengan menggunakan DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("buku"); …quot;Jason E. Sweat"); $book->appendChild($author); $publisher = $dom->createElement("penerbit", "Marco Tabini & Associates… Re: DOM Programming Web Development by davy_yg …// Tambahkan buku baru dengan menggunakan DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("buku");…;amp; Associates, Inc."); $book->appendChild($publisher); $dom->documentElement->appendChild($book); // tampilkan di layar echo 'Wrote… Re: DOM Programming Web Development by davy_yg … // Tambahkan buku baru dengan menggunakan DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("buku"); …;); $title->appendChild($text); $book->appendChild($title); $author = $dom->createElement("pengarang", "Jason E. Sweat"… Re: DOM Programming Web Development by niranga … Tambahkan buku baru dengan menggunakan DOM $dom = new DomDocument(); $dom->load("books.xml"); $book = $dom->createElement("buku");…;amp; Associates, Inc."); $book->appendChild($publisher); $dom->documentElement->appendChild($book); // tampilkan di layar echo 'Wrote… DOM Event Timestamp in Firefox - Time since boot? Programming Web Development by AdmiralCrunch … timestamps are used in calculations with DOM Event timestamps in Firefox. It appears that the DOM Event timeStamp field in Firefox is… the getTime() value to yield an offset to allow the DOM event timestamp to be converted to a 1/1/1970… DOM select HTML Programming Web Development by zappan … the data from database and i want it appear at DOM select. what i had done,first i load data to… hidden text and use a javascript load to DOM select. But the problem is i need to click on… Re: DOM select HTML Programming Web Development by langsor … results you get back you can also do that with DOM methods, or you can construct an entire new <select… and swap out the old with the new using either DOM methods or [icode]innerHTML[/icode] method. [CODE] function retrieveOption () { var… DOM - Removing the space between paragraphes Programming Web Development by Seb_london Hi Guys, Does anyone know how to remove the space between the paragraphes when creating a new element <p>? (see the example below). [URL]http://www.mozilla.org/docs/dom/technote/intro/example.html[/URL] Thanks! DOM Node Manipulation Programming Web Development by ShawnCplus …'ve come across a bit of a conundrum. Firefox handles DOM manipulation based on the standard which (would'a'thunk-it… Dom php help Programming Web Development by vho123 Having trouble with this little DOM PHP task. When i parse it from unix with the … DOM and CSS Comparison with jQuery Programming Web Development by scarcella …. So like "body ul.test li" but the DOM could have like 6 li's in that ul. So… Re: DOM Programming Web Development by niranga Check this thread : http://www.daniweb.com/web-development/php/threads/427263/extract-data-from-an-xml-file-and-display-it-in-php My example might help you. If not feel free to reply :) Re: DOM Programming Web Development by niranga I found several mistakes in your code. ## '&' character ## Repalce the **`&`** in the string literals to **`&amp;`** ## Your language and English :) ## You have created the XML file using some words comes in your language Ex: "buku", "judul" etc. And in the bottom you are trying to read using English words. So … Re: DOM Programming Web Development by niranga One more thing. Remove the following line (line number 24) $file = simplexml_load_file('book.xml'); **`book.xml`** does not exists. Re: DOM Programming Web Development by niranga Hmmmm.. Delete all the content in the XML file and put, <?xml version="1.0"?> <catalog> </catalog> Then try to run the script again Re: DOM Programming Web Development by davy_yg Which content are of xml file? Do you mean put all my codes in between <catalog></catalog> ? Re: DOM Programming Web Development by niranga I mean at the initial run, your XML file have to have following content. No need to change the PHP code <?xml version="1.0"?> <catalog> </catalog> I not sure, but let's give it a try :) Re: DOM Programming Web Development by davy_yg Which content are of xml file? Do you mean put all my codes in between <catalog></catalog> ? Re: DOM Programming Web Development by niranga No. Now you have two files right? * books.xml * PHP file At the begining **`books.xml`** file does not have any info about books right? So put following into the **`books.xml`** and run the PHP file. <?xml version="1.0"?> <catalog> </catalog> Re: DOM Programming Web Development by davy_yg This is what I have in books.xml now: <?xml version="1.0"?> <catalog> </catalog> <perpustakaan> <buku isbn="01232312312"> <judul>PHP Programming</judul> <pengarang>Whoever he is</pengarang> <penerbit>KomTek … Re: DOM Programming Web Development by davy_yg ok, I'll try. I get this error message: Warning: DOMDocument::save() [domdocument.save]: string is not in UTF-8 in C:\xampp\htdocs\php_exercise\exercise3_2.php on line 24 Wrote: 717 bytes catalog Isbn : Fatal error: Call to undefined method SimpleXMLElement::pengarang() in C:\xampp\htdocs\php_exercise\exercise3_2.php on line 32 line 24: $… Re: DOM Programming Web Development by niranga Try using **`$book->pengarang`** NOT **`$book->pengarang()`**. Remove the parentheses Re: DOM Programming Web Development by davy_yg I already did. I get error on line 24 & 32. line 24: $file = simplexml_load_file("books.xml"); line 32: echo "<hr/>"; I don't know what's wrong.