Hi,

I need to get the values of javascript variables or values of html elements
into jaggery code.

What i am doing is, i am getting values from html elements and i need to
send them inside the query in jaggery.
That is,
in html i have a dropdown as *Year*, i want to pass the value selected.
Below is the javascript code with the jaggery code:

function DrawGraph(){
    var year=document.getElementById("Year").value;

<%
var query =  "select sum(Best_Case__c) as 'Best' FROM Opp WHERE
YEAR(Date__c)=*year*
%>

}

How can i do this?
Any example? Tutorials?

Thanks in advance.
Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel      : +94 112662541
Email : [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to