Results 1 to 2 of 2

Thread: Help needed in simple javascript code

  1. #1
    Join Date
    May 2010

    Help needed in simple javascript code

    Hi ,
    I am a pro at plsql but have been given to code in javascript for a small requirement which is as follows.
    Name of the report :Open Calls report
    PARAMETERS Country code, Date Range , Incident Status and Incident Type

    For the report .If we are not filtering out certain parameters the parameters page should just have 'All' instead of listing all the values. For example, if we run the report and don’t choose a country, it will run the report for all countries. The parameters page should say all “Country Code: ALL” and not Country Code: CA,CH,CZ,FR,DE,US etc.

    I need to add the above req in following code :
    function AddValueToSelectedList(p_LimitVal, p_BHasCodeCol, p_SectionObj)
      var l_LimitVal = p_LimitVal;
        var l_StartIdxOfCode = l_LimitVal.lastIndexOf(" ") + 1;
        l_LimitVal = l_LimitVal.substr(l_StartIdxOfCode);
    How to achieve this ?
    Last edited by Kor; 05-26-2010 at 02:44 PM. Reason: wrap the code [code][/code] or # editor's button on selection

  2. #2
    Join Date
    Dec 2003
    Bucharest, ROMANIA
    Insufficient data. Either post the whole code, HTML included (it is essential, as JavaScript acts over HTML elements) or better post a link to a test page. And give us, please, more details.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center