Search:
Type: Posts; User: Dr.Goodvibes
Search :
Search took 0.01 seconds.
Ah, note to self. Thank you. :)
Think I've worked out how to get the return value from JavaScript.
I got fixated with the array and forgot the DOM.
HTML input element arrays are just...
Thank you slaughters.
I'm wondering if I have understood the inter-play of HTML text type Input and their values and the assignment of an array to that value/name.
I'm almost thinking the name...
I'm attempting to take the values from a HTML form and use JavaScript to create a multidimensional array with only selected values and then return this array as part of the returned POST values to a...
Sorted!
Just had to correct the XSL file used to create the XHTML fragment which is eventually appended to the document.
Had to remove the following attributes from the XSL output statement
...
Have you tried FF4.0 beta?
Thanks for bearing with me.
The Exact error message returned for IE 9.0 RC when using mime type application/xhtml+xml is as follows:
DOM Exception: SYNTAX_ERR(12)
This is returned from the...
Have you tried the following.
<script>
function openwindow() {
var email = survey.email.value;
window.location.href = "test.php?email=" + email;
}
</script>
Thank you for your reply.
I hear what you're saying and with the introduction of HTML 5.0, supported now by most major desktop web browsers it would seem the only way forward.
text/html is...
The following is a bit of test code to demonstrate the problem I am having with IE 9.0 RC.
The code is not big and it's not smart, but if you can see in the code a problem that would make IE 9.0...
Using IE 9.0 RC and attempting to translate XSL/XML (XSLT) fragment via javascript and innerHTML, but failing.
Using a known XSL and XML file combination which works in W3C - Safari, Firefox,...
I like the way you think, Kor.
I'd tried assigning the onclick to a variable and then to the function and it didn't work.
I'd tried using eval(), however in the context I'd used it, it too didn't...
I use the following to check Client-side email address.
getValidEmail = function( a, b ) {
var c = /^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$/gi;
if ( !a.match( c ) ) { return false; }
...
Thank you for your reply.
In short, I'm reading server-side XSL into a JavaScript fragment.
The bulk of the XSL markup is HTML and is just appended to the client-side document and displayed as...
Not sure about the nature of your question.
Do you what to test for a given input character?
var str = '荐';
if ( str.charCodeAt(0) == 0x8350 ) {
alert('Unified Han ideograph');
}
I am trying to assign an onclick attribute to a HTML button.
I have XSL back-end code which is parsed by the client XSLT Javascript engine as a DOM fragment.
It could be AJAX as the result would...
Nice web page.
In most HTML the CSS style and Javascript are place in separate files and compressed.
This allows a one time read, a cache and then forget.
If the code is placed in each HTML page...
Thank you for your reply,
What I'm doing is, returning an xhr.responseXML from server side XSLT as a fragment. This is then parsed. Inside the returned fragment is non-HTML code which can be...
Hi,
Sorry if I sound like a nob.
I'm trying to create the following JavaScript object nodelist collection structure.
myNode.item(0).name='test1';
myNode.item(1).name='test2';