Click here to Skip to main content
15,902,863 members
Home / Discussions / Web Development
   

Web Development

 
QuestionASP loops Pin
Dreamzor25-Oct-07 23:00
Dreamzor25-Oct-07 23:00 
AnswerRe: ASP loops Pin
Guffa25-Oct-07 23:16
Guffa25-Oct-07 23:16 
GeneralRe: ASP loops Pin
Dreamzor25-Oct-07 23:28
Dreamzor25-Oct-07 23:28 
Questionhow i can to have the all id for HTML controls in the Webpage Pin
Thaer Hamael25-Oct-07 12:04
Thaer Hamael25-Oct-07 12:04 
AnswerRe: how i can to have the all id for HTML controls in the Webpage Pin
Shog925-Oct-07 18:00
sitebuilderShog925-Oct-07 18:00 
GeneralRe: how i can to have the all id for HTML controls in the Webpage Pin
Thaer Hamael27-Oct-07 3:00
Thaer Hamael27-Oct-07 3:00 
GeneralRe: how i can to have the all id for HTML controls in the Webpage Pin
Shog927-Oct-07 5:52
sitebuilderShog927-Oct-07 5:52 
GeneralRe: how i can to have the all id for HTML controls in the Webpage Pin
Thaer Hamael27-Oct-07 23:03
Thaer Hamael27-Oct-07 23:03 
iam very thnks mr Shog9
but your code is note work as my need
the code
var els = document.getElementsByTagName("*");
is return the object
i do the follwing
alert(els)// the retuern of this alert is object
and then replace it with
alert(els.id)//this convert return undefind value what is the problem with this
and then
when calling the function m(a,f)
id do this code
function m(a, f)
{
var ret = [];
alert(a.length)//its return the wrong number of element in my page

for (var i=0; i<a.length; ++i)
="" {
="" var="" val="f(a[i]);
" alert(a[i])="" this="" alert="" return="" undefind="" what="" is="" nr="" shong
="" if="" (="" !="null" )
="" ret.push(val);
="" }
="" ret;
}



and="" the="" code=""

var="" ids="m(els," function(el)=""
="" {=""
alert(el);="" itis=""

="" id="" it="" exists,="" otherwise="" null="" to="" exclude="" element.
="" el.id?el.id:null;
="" });



mr="" shon="" pls="" you="" have="" any="" as="" sampel="" and="" can="" give="" me=""
pls="" send=""
thnks="" your="" hellp=""

<div="" class="ForumSig">Thaer
GeneralRe: how i can to have the all id for HTML controls in the Webpage Pin
Shog928-Oct-07 8:18
sitebuilderShog928-Oct-07 8:18 
QuestionAJAX textchange event then click event Pin
CandyMe25-Oct-07 3:43
CandyMe25-Oct-07 3:43 
AnswerRe: AJAX textchange event then click event Pin
Shog925-Oct-07 9:23
sitebuilderShog925-Oct-07 9:23 
GeneralRe: AJAX textchange event then click event Pin
CandyMe25-Oct-07 18:03
CandyMe25-Oct-07 18:03 
QuestionDisable CompareValidator [modified] Pin
CandyMe24-Oct-07 19:46
CandyMe24-Oct-07 19:46 
AnswerRe: Disable CompareValidator Pin
pmarfleet25-Oct-07 8:13
pmarfleet25-Oct-07 8:13 
GeneralRe: Disable CompareValidator Pin
CandyMe25-Oct-07 18:01
CandyMe25-Oct-07 18:01 
Questionbyte[] memory consumption excedded Pin
Navneet Hegde24-Oct-07 4:14
Navneet Hegde24-Oct-07 4:14 
AnswerRe: byte[] memory consumption excedded Pin
Guffa24-Oct-07 9:22
Guffa24-Oct-07 9:22 
GeneralRe: byte[] memory consumption excedded Pin
Navneet Hegde24-Oct-07 20:01
Navneet Hegde24-Oct-07 20:01 
GeneralRe: byte[] memory consumption excedded Pin
Guffa25-Oct-07 1:08
Guffa25-Oct-07 1:08 
GeneralRe: byte[] memory consumption excedded Pin
Navneet Hegde28-Oct-07 21:11
Navneet Hegde28-Oct-07 21:11 
Questionoverride css for select element Pin
amit4uall23-Oct-07 20:40
amit4uall23-Oct-07 20:40 
AnswerRe: override css for select element Pin
WoutL23-Oct-07 22:27
WoutL23-Oct-07 22:27 
GeneralRe: override css for select element Pin
amit4uall23-Oct-07 23:32
amit4uall23-Oct-07 23:32 
Questionrelated to the AJAX.. [modified] Pin
abhishek chouksey23-Oct-07 19:27
abhishek chouksey23-Oct-07 19:27 
AnswerRe: related to the AJAX.. Pin
Christian Graus23-Oct-07 23:04
protectorChristian Graus23-Oct-07 23:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.