As an element ID (elem) you can substitute the '#name' in this function:
function Help_Side(elem) { $('#name').slideToggle('fast'); } As an element ID (elem) you can substitute the '#name' in this function:
function Help_Side(elem) { $('#name').slideToggle('fast'); } one
JS: if ($('#textarea').val()==='0') { /* code */ } PHP: if ($_POST['textarea']==='0') { /* code */ } 2
$('#div').click(function() { $(this).animate({width: $(this).width()==595 ? '837px' : '595px'}, 'slow'); }); 3 cm 2) only {width: $(this).width()==0 ? '100%' : '0%'} {width: $(this).width()==0 ? '100%' : '0%'}
four
function Help_Side(elem) { $('#'+elem).slideToggle('fast'); } Source: https://ru.stackoverflow.com/questions/68551/
All Articles
'я решаю задачу A, в связи с чем появились вопросы B,C и D':) It is important that the title be specific. - Sh4dow