1-I tried to put this code in index.jelly but it display the page as it is
do not consider html or java script i searched a lot and found many
examples and none if them even worked all have the same problem, please i
need any advice.
2- is it possible to link google charts in my script in .jelly files and
also jquery.
code is below
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:html="jelly:html"
xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<!-- Store the test variable as an input type, just to access it in the
below Javascript -->
<!-- This is the div we will be using to make it a HTML Object -->
<div id= "set"> </div>
<script>
function addLoadEvent(){
/* Get the value stored in the ping */
/*Getting the div element*/
var htmlObject = gel('set');
/*setting the div element, which inturn is a string, until you cast it as
a HTML Object*/
htmlObject.innerHTML = '<h1> yala </h1>';
}
</script>
</j:jelly>
Thank You :)
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/c41b5b55-2248-4a91-bf85-80e7270c8235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.