Yes, we can pass some parameter in the ECMA Script function as normal as we are doing in the javascript function.
<script type="text/javascript" >
$(document).ready(function() {
$("Select[Title='OfficeName']").change(function() {
getLookUp($("Select[Title='OfficeName']").val());
});
});
</script>
<script language-="ecmascript" type="text/ecmascript">
function getItemById(OfficeName)
{
// get the Item for using the OfficeName.
}
<script type="text/javascript" >
$(document).ready(function() {
$("Select[Title='OfficeName']").change(function() {
getLookUp($("Select[Title='OfficeName']").val());
});
});
</script>
<script language-="ecmascript" type="text/ecmascript">
function getItemById(OfficeName)
{
// get the Item for using the OfficeName.
}
</script>
No comments:
Post a Comment