₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,630 members, 8,512,871 topics. Date: Wednesday, 04 November 2026 at 07:10 AM

Toggle theme

Jquery Users Your Help Is Needed - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Jquery Users Your Help Is Needed (812 Views)

1 Reply (Go Down)

Jquery Users Your Help Is Needed by henryobinna(op): 6:45am On Apr 29, 2015
how do I create an array from a webpage content(i.e list) with an unknown length.

like creating an array that would contain list of countries on a webpage and I don't know the Number of countries available.
which means the code would fetch the total Number of countries then assign it to the area with its array.



I really need this for a little project, thanks in advance
Re: Jquery Users Your Help Is Needed by kudaisi(m): 10:19am On Apr 29, 2015
henryobinna:
how do I create an array from a webpage content(i.e list) with an unknown length.

like creating an array that would contain list of countries on a webpage and I don't know the Number of countries available.
which means the code would fetch the total Number of countries then assign it to the area with its array.



I really need this for a little project, thanks in advance
Where are you generating the list of countries from ?...is from a JSON source or are you selecting from certain elements with specific attributes from an HTML page ? Need more specifics or code you've written so far.
Re: Jquery Users Your Help Is Needed by henryobinna(op): 11:10am On Apr 29, 2015
kudaisi:
Where are you generating the list of countries from ?...is from a JSON source or are you selecting from certain elements with specific attributes from an HTML page ? Need more specifics or code you've written so far.
yea from a JSON source but I've gotten an alternative anyway,
thanks
Re: Jquery Users Your Help Is Needed by robby1(m): 11:34am On Apr 29, 2015
Maybe post a code sample of your attempt to give a better idea of what you're trying to do..
Re: Jquery Users Your Help Is Needed by henryobinna(op): 11:49am On Apr 29, 2015
said I've gotten what I wanted thanks
Re: Jquery Users Your Help Is Needed by thewebcraft(m): 1:14pm On Apr 30, 2015
henryobinna:
said I've gotten what I wanted
thanks
You saw the mail right?
Re: Jquery Users Your Help Is Needed by henryobinna(op): 3:34pm On Apr 30, 2015
thewebcraft:
You saw the mail right?
yea thanks
Re: Jquery Users Your Help Is Needed by henryobinna(op): 6:06pm On Apr 30, 2015
.
1 Reply

Free Csharp, Mvc, Jquery And More Tutorials Online • Ultra-light and simple Accordion With Jquery • My Web Development Consultancy Thread(html, CSS, Javascript, Jquery, ASP.NET) • 2 • 3 • 4

Malware Uncovered That Could Threaten The Electrical Sphere • Make Money Online At Home • Drupal 8.2: The Minor Release With Some Major Improvements