' href= ' behind, '? ' If you don't add anything to the front,

Source: Internet
Author: User
This is on the pagination.


  
   =$e_page)?$page:($page+1);$html.='next'.' ';$html.='end'.' ';return $html;}?>

Please look at line fourth, there is nothing in front of the question mark, normal should not have an address code? Why is there nothing here?
(I think the meaning may refer to the current page, but the current page is not a #?) )

Reply content:

This is on the pagination.


  
   =$e_page)?$page:($page+1);$html.='next'.' ';$html.='end'.' ';return $html;}?>

Please look at line fourth, there is nothing in front of the question mark, normal should not have an address code? Why is there nothing here?
(I think the meaning may refer to the current page, but the current page is not a #?) )

The current page, but with one more page parameter

"#" is actually the anchor tag prefix instead of the current page, the professional noun called the page hash, the browser's return button also use this for Web content positioning, but also support JS on the location of the Web page

Click the Specify href= "#content" link, you can navigate to the location of the Hello World label, if only # then locate the top, you will find that the page is not refreshed

But if the href is empty, navigate to the current page.

If the current page address is

http://www.xxx.com/a.php?b=1&c=2

So, on this page,
???
Jump to the page is
http://www.xxx.com/a.php?d=1

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.