Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-19-2011, 07:52 PM   PM User | #1
newbie14
New Coder

 
Join Date: May 2011
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
newbie14 is an unknown quantity at this point
Droppable to pause till receive value from pop-up

Dear All,
I got a droppable function. Where when I drop it will open a pop-up window and in that once I check one of the checkbox the window will close and then I would like to capture the values and update a particular function. The problem now once the pop-up called the next operation is keep going in the droppable function. How to do like a pause there? Part of my codes is below.

Code:
drop: function(event, ui) {
    	
         var sourceID =ui.helper.context.id;
    	
    	tyreInsertID=0;
    	window.open('tyreDetails.php?tyre=' + sourceID, 'TyreDetails','width=500, height=500');
	    return false;
}
// This is the function called from the pop-up once the checkbox is click but is a javascript function not a jquery.
Code:
function updateValue(positionID,tyreID,tyreInsertIDPop,tyreCost,val,brand,size,pattern)
  {
	tyreInsertID=tyreInsertIDPop;
	alert("VALUE :"+tyreInsertIDPop+"  "+operationType);
	addRowsRetread("F1L","TEST",val,1,88881);	
  
  }
newbie14 is offline   Reply With Quote
Reply

Bookmarks

Tags
jquery drag and drop

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:58 PM.


Advertisement
Log in to turn off these ads.