分配价值 [英] Assigning value

查看:79
本文介绍了分配价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法分配值,任何人都可以告诉我什么是错的....

i am not able to assign values ,can any one tell me whats wrong ....

展开 | < span class =codeLinkonclick =selectAll(this);>选择 | 换行 | 行号

推荐答案

你是否收到第4行的警报:
和行警报(dc.scr);它必须是src not scr。


请你发布整个代码。


问候

Ramanan Kalirajan
Are u getting the alert at the line no: 4

and in the line alert(dc.scr); it must be src not scr.

Can u please post the whole code.

Regards
Ramanan Kalirajan


实际上我的代码太大了。我想要做的是我有一个文件夹名称,图像显示文件夹是否被选中和一个隐藏的框。


现在如果选择文件夹,它显示 - 隐藏的框值是1图像,现在我想取消选择它。当我取消选择它时,图像应该变为+。和隐藏的盒子值应该变成0;


这是我想要做的但是没有成功......
actually my code is too big . what i want to do is that i have a folder name , image showing folder is selected or not and a hidden box .

now if folder is selected , its showing "-" hidden box value is 1 image and now i want to deselect it . when i deselect it , image should chamge to "+" and hidden box value should become "0";

this is what i am trying to do but not getting sucess ....


您的代码有很多错误。例如,这一行
Your code has quite a number of errors. For example, this line
展开 | 选择 | Wrap | 行号


这篇关于分配价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆