All Questions
Tagged with xhtml javascript
1,190
questions
0
votes
0
answers
27
views
I have an XHTML page and the body onload event refuses to function
I have a body onload function in my XHTML and Javascript pages. For some reason the onload function won't run and I don't know why?
Here is my XHTML code:
<html xmlns="http://www.w3.org/...
0
votes
1
answer
70
views
Positioning an input button and overriding SVG
If you make the beginning coordinates and ending coordinates of the Bezier curve equidistant, then you can duplicate Bezier curves.
If you click the button, a second Bezier curve will appear under the ...
0
votes
2
answers
34
views
Xquery expect return found ;
When I run my current XHTML page, I get the following error:
Retrieved_Data <?xml version="1.0" ?><exception><path>/db/apps/HTML_Student/SVG_Bezier_Curve.xq</path><...
0
votes
1
answer
49
views
Using setAttributeNS for changing SVG Path Arc element
I'm trying to store the coordinates of my SVG Path statement inside the eXist database. Here is my XHTML code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
&...
0
votes
0
answers
22
views
How can I configure prettier to stop turning ">" into "& gt;"?
My work situation does not allow the use of some characters such as ">", "<", or "&". Instead, we use the html entity equivalent in the JavaScript.
Prettier ...
0
votes
1
answer
206
views
Quill rich text editor not keeping font size on copy/paste
I am using the Quill rich text editor V2.0 on an xhtml page via Javascript. When I copy and paste text from MS word to the editor the font size is lost, this also happens on the demo on https://...
0
votes
1
answer
81
views
How to tell if loaded page is true XML-processed XHTML or not, using devtools or JavaScript snippet
Inspecting Firefox system page that is displayed when connection to remote server fails shows clear signs it is a true application/xhtml+xml page:
There is explicit xmlns="http://www.w3.org/...
-1
votes
1
answer
112
views
Pass value from text file into a html paragraph
I have a text file populated dynamically from another javascript. Owing to require/bundle issues and many, many other problems I am just writing the results to a text file.
I now want to display the ...
0
votes
1
answer
100
views
How are Elements in an XML DOM Updated?
So far this is what I understand:
The DOM is a diagrammatic representation of all the elements on a webpage which are called objects. These objects/elements are displayed and constructed as a tree or ...
0
votes
2
answers
81
views
HTML Entities to add a break-line into a link [duplicate]
in Blogger code
<a class='whatsapp' expr:href='"https://api.whatsapp.com/send?text=" + "*" + data:post.title + "*" + " - " + ...
0
votes
1
answer
88
views
remove closure slash '/' from img tag of XHTML
I have a string txt1 that stores an image. Its value is in XHTML, i.e. the element is closed: <img src="happy.gif" alt="Happy face" />. But I need to remove that closure ...
0
votes
0
answers
20
views
how to iterate through this array of objects in javascrip [duplicate]
{"airplane_models":[{"name":"A770","max_passenger":230},{"name":"A342","max_passenger":130},{"name":"A341",&...
0
votes
0
answers
31
views
JavaScript <script> contents being commented out on conversion from JSF XHTML to HTML
I've loaded a JavaScript script at the end of the <h:head> section of a JSF XHTML page:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//...
0
votes
1
answer
61
views
How to get the original case of element names in (X)HTML DOM in javascript?
I read that HTML is always turned all upper case from both Node.prototype.nodeName and HTMLElement.prototype.tagName but that XML elements that are not HTML are left in their original case.
This is ...
0
votes
0
answers
67
views
Can I replace the expand icon (▶) of the <details> element in XHTML?
In the questions
Can I replace the expand icon (▶) of the <details> element in absence of <summary> element?
Can I replace the expand icon (▶) of the <details> element?
information ...