After including the jquery then call following function
(http://code.jquery.com/jquery-1.4.3.min.js)
<script src=jquery-1.4.3.min.js></script>
functions.js
------------------------
function saveTeamName()
{
var teamURL=$('#teamURL').val()
var teamID=$('#teamID').val()
var teamName=$('#txtTeamName').val()
vData = 'teamid='+teamID+'&teamname='+teamName;
$.ajax({
type : "POST",
url : g_site_path+"/"+teamURL+"/save-team-name",
data : vData,
dataType : 'html',
success: function(html){
if(html=='ext')
$('#ErrMsg').html('Page Name Already exist.');
else
{
$('#ErrMsg').html('Your Page Updated successfully.');
$('#ErrMsg').hide('slow')
$('#teamNameDiv').show('slow')
document.getElementById('teamNameDiv').innerHTML=teamName
$('#chgTeamNameDiv').hide('slow')
}
}
});
Talend Developer Training| Talend Developer Online ...
ReplyDeletewww.21cssindia.com/courses/talend-online-training-160.html
Talend Developer Training, Talend Developer Online Training , Talend Developer corporate Training, Best Talend Developer Training , Expert Talend ...+919000444287