简体   繁体   中英

Call another function on date picker text field

I have a form which have a jQuery calender. I want to call a price calculation function on

but if I call this function the # sign come into url and page goes to top. if I remove onChange function the form working well, how it possible to remove # sign on call a function.

use JavaScript:void(0)

It will not get you to the top most line of the page ..

href="JavaScript:void(0)"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM