Computer Science, asked by vigneshkgirish8663, 1 year ago

How to link jQuery in HTML page?

Answers

Answered by nishitadeka82
2

HOLA BUDDY....

here is your answer,--------->>>

use HTML::Query 'Query';

# using named parameters

$q = Query( text => $text ); # HTML text

$q = Query( file => $file ); # HTML file

$q = Query( tree => $tree ); # HTML::Element object

$q = Query( query => $query ); # HTML::Query object

$q = Query(

text => $text1, # or any combination

text => $text2, # of the above

file => $file1,

file => $file2,

tree => $tree,

query => $query,

);

# passing elements as positional arguments

$q = Query( $tree ); # HTML::Element object(s)

$q = Query( $tree1, $tree2, $tree3, ... );

# or from one or more existing queries

$q = Query( $query1 ); # HTML::Query object(s)

$q = Query( $query1, $query2, $query3, ... );

# or a mixture

$q = Query( $tree1, $query1, $tree2, $query2 );

# the final argument (in all cases) can be a selector

my $spec = 'ul.menu li a'; # <ul class="menu">..<li>..<a>

$q = Query( $tree, $spec );

$q = Query( $query, $spec );

$q = Query( $tree1, $tree2, $query1, $query2, $spec );

$q = Query( text => $text, $spec );

$q = Query( file => $file, $spec );

$q = Query( tree => $tree, $spec );

$q = Query( query => $query, $spec );

$q = Query(

text => $text,

file => $file,

# ...etc...

$spec

);

#hope it helps you....

Plzz mark it as brainliest... ^·^

Answered by Anonymous
0

Hello Mate,

use HTML::Query 'Query';

# using named parameters

$q = Query( text => $text ); # HTML text

$q = Query( file => $file ); # HTML file

$q = Query( tree => $tree ); # HTML::Element object

$q = Query( query => $query ); # HTML::Query object

$q = Query(

text => $text1, # or any combination

text => $text2, # of the above

file => $file1,

file => $file2,

tree => $tree,

query => $query,

);

# passing elements as positional arguments

$q = Query( $tree ); # HTML::Element object(s)

$q = Query( $tree1, $tree2, $tree3, ... );

# or from one or more existing queries

$q = Query( $query1 ); # HTML::Query object(s)

$q = Query( $query1, $query2, $query3, ... );

# or a mixture

$q = Query( $tree1, $query1, $tree2, $query2 );

# the final argument (in all cases) can be a selector

my $spec = 'ul.menu li a'; # <ul class="menu">..<li>..<a>

$q = Query( $tree, $spec );

$q = Query( $query, $spec );

$q = Query( $tree1, $tree2, $query1, $query2, $spec );

$q = Query( text => $text, $spec );

$q = Query( file => $file, $spec );

$q = Query( tree => $tree, $spec );

$q = Query( query => $query, $spec );

$q = Query(

text => $text,

file => $file,

# ...etc...

$spec

Similar questions