title: jquery function cant redirect to actionURL in my custom portlet
body: <p>I have one jquery function which will redirect to my edit page when i click on the edit icon of the column in my custom liferay portlet..</p>
  
  <p>but some how when i click on that icon its just reloading the page but not redirecting to the page i want</p>
  
  <p>here is my view.jsp code</p>
  
  <p>MY PORTLET ACTION URL CODE</p>
  
  <pre><code>&lt;portlet:actionURL var="editrestaurantURL" &gt;
  &lt;portlet:param name="jspPage" value="/jsps/edit_restaurant.jsp"/&gt;
  </code></pre>
  
  <p>My column on click of that jquery will invoke </p>
  
  <pre><code>&lt;td class="editable"&gt;&lt;%=temprest.getName() %&gt;&lt;/td&gt;
  </code></pre>
  
  <p>this is my script code </p>
  
  <pre><code>&lt;script&gt;
                      $(document).ready(function() {     
                          $(".editable").hover(function(){
                              $(this).append("&lt;i class='splashy-pencil_right'&gt;&lt;/i&gt;")
                          }, function(){
                              $(this).children("i").remove();
                          });                        
                          $(".editable").click(function(){
                              $.colorbox({
                                  initialHeight: '0',
                                  initialWidth: '0',
                                  href: "#confirm_dialog",
                                  inline: true,
                                  opacity: '0.3',
                                  onComplete: function(){
                                      $('.confirm_yes').click(function(e){
                                          e.preventDefault();
                                          window.location.href = "&lt;%=editrestaurantURL.toString() %&gt; ";
                                          $.colorbox.close();
                                      });
                                      $('.confirm_no').click(function(e){
                                          e.preventDefault();
                                          $.colorbox.close(); 
                                      });
                                  }
                              });
                          });
                          //* show all elements &amp; remove preloader                        
                          setTimeout('$("html").removeClass("js")',1000);
                      });
                  &lt;/script&gt;   
  </code></pre>
  
  <p>Anyone can guide me that where is the problem?i cant know where is going wrong..</p>