97
| <![CDATA[<script type="text/javascript">
function tableOrdering( order, dir, task )
{
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task );
}
</script>]]>
|
124
| <![CDATA[<script type="text/JavaScript">
function jumpmenu(target,obj){
eval(target+".location='"+obj.options[obj.selectedIndex].value+"'");
obj.options[obj.selectedIndex].innerHTML="Por favor, aguarde ...";
}
jQ(function() {
jQ('#order').change(function() {
order = jQ(this).val();
orderdir = jQ(":selected",this).attr('dir');
var form= document.createElement('form');
form.method= 'post';
form.action= '/portal/vagas-e-concursos/enfermeiros/2-tecnico-de-enfermagem';
var input= document.createElement('input');
input.type= 'hidden';
input.name= "order";
input.value= order;
form.appendChild(input);
var input2= document.createElement('input');
input2.type= 'hidden';
input2.name= "orderdir";
input2.value= orderdir;
form.appendChild(input2);
document.body.appendChild(form);
form.submit();
});
});
</script>]]>
|
247
| <![CDATA[<script type="text/JavaScript">
jQ(function() {
jQ('.favorite_ads').click(function() {
var favoriteId = this.getAttribute( "id" );
favoriteId = favoriteId.split('like_');
var adId = favoriteId[1];
var id = '#like_'+adId;
if(jQ(id).hasClass("like_active")) {
jQ.ajax({ url: "\/portal\/vagas-e-concursos\/tecnicos-de-enfermagem?task=deletefavorite&mode=1",
data: {adId: adId},
type: 'post',
success: function(result) {
if(result == 1){
jQ(id).removeClass("like_active");
jQ(id).html('Add to favorites');
alert('Ad deleted from your favorites');
} else if(result == 2) {
window.location.replace("\/portal\/component\/comprofiler\/login");
} else if(result == 3) {
alert('Error: Ad not found.');
}
}
});
} else {
jQ.ajax({ url: "\/portal\/vagas-e-concursos\/tecnicos-de-enfermagem?task=favorite",
data: {adId: adId},
type: 'post',
success: function(result) {
if(result == 1){
jQ(id).addClass("like_active");
jQ(id).html('Delete from favorites');
alert('The ad has been added to your favorites.');
} else if(result == 2) {
window.location.replace("\/portal\/component\/comprofiler\/login");
} else if(result == 3) {
alert('Error: Ad not found.');
} else {
alert('The ad is already in your favorites.');
}
}
});
}
return false;
});
});
</script>]]>
|
344
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47322734-1', 'auto');
ga('send', 'pageview');
</script>]]>
|