Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:26:44+00:00 2026-05-28T13:26:44+00:00

i have a little javascript that should bring some values to change the link,

  • 0

i have a little javascript that should bring some values to change the link, but the problem is that date format is written like: dd/mm/year thus the day is divided by month then by year 🙂 here is the function:

function show_sales(employee_id,start_date,finish_date)
    {
      var url_str = "#request.self#?fuseaction=objects2.popup_showsales_emp"
      url_str = url_str + '&employee_id=' + employee_id;
      url_str = url_str + '&start_date=' + start_date;
      url_str = url_str + '&finish_date=' + finish_date;
      AjaxPageLoad(url_str,'salesdiv_' + employee_id,1,'Yükleniyor');
    }

as u can see i want to get the start date and finish date to change the link, but instead it counts the value )) so instead of getting: 02/01/2012 i get: 0.0009940357852882703 🙂 thank you all for the help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:26:44+00:00Added an answer on May 28, 2026 at 1:26 pm

    i hope there is a prob in function call

    function show_sales(1,'12/3/2008','15/5/2012');
    

    make sure that date is formatted as string

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little bit of Javascript that almost works correctly. Here's the code:
Let's say I have a javascript method that takes a little to long to
I have a little button on my page that should load a google map.
I have a little javascript function which is attached to an onClick event of
I have a neat little javascript data grid and I want people to be
I must have a little design in javascript. I have a menu with 5
I have little knowledge of Flash but for a little Flash game I have
i have little problem with boost::asio library. My app receive and process data asynchronously,
I have little bit longer question for you - but hope answer will be
I have this little script, which should ping the IPs in the $hosts_to_ping array.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.