function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdc@isha.ax1814sfdc@isha.ax1814 

send parameters from page(jquery) to controller

Hi Team,
I have below vfpage code. iam getting value of daterangevalue onclick action in jquery. i need to send this value to controller after click on save . they are already using the commandlink in the code.
i tried with param but iam geeting blank  value in the controller

   <input name="dateRangeSelect" id="dateRangeSelect">                                 
                                            <img src="{!$Resource.Downarrowimage}" width="8" height="8" style="margin-left:-16px;margin-top:-2px;position: relative;"/>
                                            </input>
                                            <output id="outputid" type="text" value="daterangevalue1"/>
                                             
                                              <script>
                                               $("#dateRangeSelect").daterangepicker({
                                                 open: function(event, data) {  },
                                                 change: function(event, data) {
                                                    $("li.ui-menu-item").click(function(){
                                                        console.log($(this).text());
                                                      $("#outputid").val("Date range : "+$(this).text());
                                                       var dtr=  ($(this).text());
                                                        alert(dtr);
                                                    });
                                                   
                                                  
                                                  
<apex:commandLink status="renderLightningSpinner" action="{!saveSettings}" value="Save" reRender="pgMsgPnl" title="Save Setting" style="width:25px;height:25px;" />
                                            
                                            
                                            
 regards,
Isha