本文介绍了如何在两个不同的单词之间交换(英语中的一个单词和泰卢固语中的其他单词),每秒一次?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 如何在两个不同的单词之间交换(英语中的一个单词和泰卢固语中的其他单词),每秒一次? 我的代码如下: how to swap between two different words(one word in English and other word in telugu),once a second?my code is like:$(document).ready(function($) { var telugu= "ఆ౦ధ", var target = $("#target"), word = target.text(); setInterval(function() { word = word === "Andhra" ? $(telugu) : "Andhra"; target.fadeOut('fast', function() { target.text(word).fadeIn('fast'); }); }, 1000); })(jQuery); 和 and$(document).ready(function($) { var target = $("#target"), word = target.text(); setInterval(function() { word = word === "Andhra" ? "ఆ౦ధ" : "Andhra"; target.fadeOut('fast', function() { target.text(word).fadeIn('fast'); }); }, 1000); })(jQuery); 但是这两种方式都不起作用。请帮助我。 提前谢谢。But this is not working in either way.please help me out.Thanks in advance.推荐答案 这篇关于如何在两个不同的单词之间交换(英语中的一个单词和泰卢固语中的其他单词),每秒一次?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-28 21:49