从代码behid vb.net调用Jquery函数 [英] Call Jquery function from code behid vb.net
本文介绍了从代码behid vb.net调用Jquery函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这个jqery功能
i have this jqery function
<pre lang="Javascript"> <script type="text/javascript">
$(document).ready(function Ocultar() {
//Oculta-Aparece-Derecha
$(''#toggle-right'').toggle(function Ocultar1() {
//Derecha
$(''#right-sidebar'').animate({
width: "850px",
backgroundColor: "#ffffff"
}, 400);
$(''#button-right-sidebar'').animate({ right: "850px" });
}, function () {
$(''#right-sidebar'').animate({
width: "0px",
backgroundColor: "#00000"
}, 400);
$(''#button-right-sidebar'').animate({ right: "0px" });
});
$(''#toggle_medidas'').toggle(function () {
//Derecha
$(''#medidas'').animate({
width: "90px",
backgroundColor: "#ffffff"
}, 400);
//$(''#botonMedidas'').animate({ left: });
}, function () {
$(''#medidas'').animate({
display: "none", width: "0px",
backgroundColor: "#00000"
}, 400);
//$(''#botonMedidas'').animate({ left: });
});
});
</script>
我正试图通过代码behid拨打按钮活动
i希望有人可以帮助我
谢谢
and i''m trying to call from code behid in a button event
i hope someone can help me
thanks
推荐答案
(文件).ready(函数Ocultar(){
// Oculta-Aparece-Derecha
(document).ready(function Ocultar() { //Oculta-Aparece-Derecha
(''#toggle-right'')。toggle(function Ocultar1(){< b>
// Derecha
(''#toggle-right'').toggle(function Ocultar1() { //Derecha
(''#right-sidebar'')。animate({
width:850px,
backgroundColor:#fffffff
},400);
(''#right-sidebar'').animate({ width: "850px", backgroundColor: "#ffffff" }, 400);
这篇关于从代码behid vb.net调用Jquery函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文