Categories
Navigate Menu
- soups
- house specials
- poultry dishes
- beef and fillet steak dishes
- spare ribs/ roast pork dishes
- seafood dishes
- vegetarian dishes
- foo yung dishes
- rice dishes
- noodle dishes
- thai dishes
- english dishes
- special dinner boxes
- side orders
- drinks and desserts
- set meals
Home > Nottingham > NG1-Nottingham > China Taste
-
- Chinese
- Thai
- Cantonese
Delivery cost: £1.00
Collection & Delivery
View Menu
Available on
2 SitesWorking hours: From 05:00 PM to 11:00 PM
(Hours or availability may differ due to COVID-19)Address: 151 Mansfield Road, Nottingham - NG1 3FR
Delivery: £1.00 (Collection & Delivery )
Minimum Order: £10.00
Discounts:
Order Description
Order (2 Websites Available)
Menu
soups
£5.80
happy family
chicken, roast pork, prawn and beef
£5.80
wondering dragon
chicken, roast pork and prawn
£5.80
house special chop suey
£5.50
house special curry
£5.40
beef curry
£5.10
roast pork curry
£5.10
chicken curry
£5.60
king prawn curry
£5.40
duck curry
£4.40
mushroom curry
£4.40
mixed vegetable curry
£4.80
tofu curry
house specials
£5.10
chicken balls with sweet and sour sauce
10 pieces
£5.10
chicken in lemon sauce
10 pieces
£5.10
sweet and sour chicken hong kong style
£5.10
crispy shredded chicken
£5.10
chicken with green pepper in black bean sauce
hot and spicy
£5.10
chicken with ginger and spring onion
£5.10
chicken with mushroom
£5.10
chicken with mixed vegetables
£5.10
kung po chicken
£5.10
chicken with satay sauce
£5.10
chicken with oyster sauce
£5.10
chicken with pineapple
£5.10
chicken with bean sprouts
£5.10
jiang po chicken
£5.10
chicken with cashew nuts
£5.10
chicken with water chestnuts
£5.10
honey spicy chicken
£5.10
chicken with honey and pineapple
£5.10
chicken with bamboo shoots and chinese mushrooms
£5.10
cantonese style chicken
hot and spicy
£5.10
szechuan chicken
hot and spicy
£5.10
chicken chop suey
£5.70
duck with plum sauce
£5.70
honey spicy duck
hot and spicy
£5.70
duck with honey and pineapple
£5.70
cantonese style duck
£5.70
duck with bamboo shoots and chinese mushrooms
£5.70
duck with green pepper in black bean sauce
hot and spicy
£5.70
duck with ginger and spring onion
£5.70
duck with mixed vegetables
£5.70
duck with bean sprouts
£5.70
duck with mushroom
£5.70
duck with water chestnuts and bamboo shoots
£5.70
duck with pineapple
£5.70
duck with satay sauce
£5.70
duck with orange sauce
£5.70
kung po duck
hot and spicy
poultry dishes
£6.30
(Video) KEBAB TIME! :: Oasis, Nottingham :: Searching for the perfect kebab feastcrispy shredded beef
hot and spicy
£5.60
honey spicy beef
hot and spicy
£5.60
beef with honey sauce
£5.60
beef with barbecue sauce
£5.60
beef with ginger and spring onion
£5.60
beef with green pepper in black bean sauce
hot and spicy
£5.60
beef with mushroom
£5.60
beef with mixed vegetables
£5.60
beef with bean sprouts
£5.60
beef with satay sauce
£5.60
beef with oyster sauce
£5.60
beef with bamboo shoots and chinese mushroom
hot and spicy
£5.60
szechuan beef
£5.60
beef with water chestnuts and bamboo shoots
£5.60
beef chop suey
beef and fillet steak dishes
£5.40
capital spare ribs
£5.40
£5.40
deep fried spare ribs
dry
£5.40
sweet and sour spare ribs hong kong style
£5.40
honey spicy spare ribs
hot and spicy
£5.40
plum sauce spare ribs
£5.40
szechuan spare ribs
hot and spicy
£5.40
honey spare ribs
£4.80
pork balls with sweet and sour sauce
10 pieces
£5.10
sweet and sour pork hong kong style
£5.10
szechuan roast pork
hot and spicy
£5.10
roast pork with barbecue sauce
£5.10
honey spicy roast pork
hot and spicy
£5.10
roast pork with honey and pineapple
£5.10
roast pork with ginger and spring onion
£5.10
roast pork with mixed vegetables
£5.10
roast pork with bean sprouts
£5.10
roast pork with mushroom
£5.10
roast pork with satay sauce
£5.10
roast pork with oyster sauce
£5.10
roast pork with bamboo shoots and chinese mushroom
£5.10
kung po roast pork
hot and spicy
£5.10
roast pork with green pepper in black bean sauce
hot and spicy
£5.10
roast pork chop suey
£5.10
roast pork with water chestnuts and bamboo shoots
£5.10
roast pork with pineapple
spare ribs/ roast pork dishes
£5.70
king prawn balls with sweet and sour sauce
10 pieces
£5.70
sweet and sour king prawns hong kong style
£5.70
king prawn with ginger and spring onion
£5.70
szechuan king prawn
hot and spicy
£5.70
king prawn with green pepper in black bean sauce
hot and spicy
£5.70
king prawn with cashew nuts
£5.70
jiang po king prawn
£5.70
king prawn with mushroom
£5.70
king prawn with mixed vegetables
£5.70
king prawn with bean sprouts
£5.70
king prawn with oyster sauce
£5.70
king prawn with satay sauce
£5.70
honey spicy king prawn
hot and spicy
£5.70
king prawn with water chestnuts and bamboo shoots
£5.70
king prawn with bamboo shoots and chinese mushroom
hot and spicy
£5.70
kung po king prawn
£5.70
king prawn with honey and pineapple
£5.70
king prawn chop suey
£5.70
squid with green pepper in black bean sauce
hot and spicy
£5.70
squid with ginger and spring onions
£5.70
kung po squid
hot and spicy
£5.70
squid with water chestnuts and bamboo shoots
£5.70
squid with mushroom
£5.70
squid with mixed vegetables
£5.70
squid with oyster sauce
seafood dishes
£4.80
crispy shredded vegetables
hot and spicy
(Video) Is this THE BEST ALL YOU CAN EAT Cooked to Order CANTONESE Restaurant in the UK? (STUFF YOUR FACE!)£4.80
vegetables with green pepper in black bean sauce
hot and spicy
£4.80
vegetables with ginger and spring onion
£4.80
sweet and sour vegetables
£4.80
vegetables with mushroom
£4.80
mixed vegetables
£4.80
kung po vegetarian
£4.80
vegetables with satay sauce
£4.80
vegetables with oyster sauce
£4.80
vegetables with pineapple
£4.80
vegetables with bean sprouts
£4.80
jiang po vegetarian
£4.80
vegetables with cashew nuts
£4.80
vegetables with water chestnuts
£4.80
honey spicy vegetarian
£4.80
vegetables with honey and pineapple
£4.80
vegetables, bamboo shoots and chinese mushrooms
£4.80
cantonese style vegetarian
hot and spicy
£4.80
szechuan vegetarian
hot and spicy
£5.00
vegetables with plum sauce
£5.00
honey spicy vegetables
hot and spicy
£5.00
vegetables with honey and pineapple
£5.00
cantonese style vegetables
£5.00
vegetables with orange sauce
£5.00
kung po vegetarian
£3.80
stir fried mushrooms
£3.80
stir fried bean sprouts
£4.80
stir fried bamboo shoots and chinese mushrooms
with tofu
£3.80
stir fried water chestnuts and bamboo shoots
£3.80
stir fried bamboo shoots and chinese mushrooms
£4.80
szechuan tofu
hot and spicy
£4.80
tofu with green pepper in black bean sauce
hot and spicy
£4.50
mixed vegetables with black bean sauce
hot and spicy
£4.70
£3.80
stir fried mixed vegetables
£4.90
sweet and sour tofu hong kong style
£4.90
kung po tofu
hot and spicy
vegetarian dishes
£5.00
chicken foo yung
£5.10
shrimp foo yung
£5.80
king prawn foo yung
£5.00
roast pork foo yung
£4.30
mushroom foo yung
£4.10
plain foo yung
£4.30
mixed vegetables foo yung
foo yung dishes
£5.60
house special rice
£2.30
egg fried rice
small
£2.00
plain boiled rice
£5.10
duck fried rice
£4.80
roast pork fried rice
£4.80
chicken fried rice
£5.20
singapore fried rice
hot and spicy
£5.10
shrimp fried rice
£5.40
king prawn fried rice
£4.90
yung chow fried rice
£4.20
mixed vegetables fried rice
£4.20
mushroom fried rice
£4.20
vegetarian fried rice
£4.20
pineapple fried rice
£4.50
cashew nut fried rice
£4.90
beef fried rice
£5.80
duck fried rice in black bean sauce
with green pepper - hot and spicy
£5.80
king prawn fried rice in black bean sauce
with green pepper - hot and spicy
£5.80
roast pork fried rice in black bean sauce
with green pepper - hot and spicy
£5.40
chicken fried rice in black bean sauce
with green pepper - hot and spicy
£5.40
satay beef fried rice
£5.40
satay chicken fried rice
£5.40
satay roast pork fried rice
£5.80
(Video) SAMOSA CHAAT WAS UNBELIEVABLY GOOD! RIKSHAW URBAN INDIAN KITCHEN, NOTTINGHAMsatay king prawn fried rice
£5.80
satay duck fried rice
£3.60
3 in 1
rice, chips and choice of sauce
rice dishes
£5.70
house special fried noodles
£3.90
plain fried noodles
£4.80
chicken fried noodles
£4.80
roast pork fried noodles
£5.00
duck fried noodles
£4.90
beef fried noodles
£5.20
singapore fried noodles
£4.80
yung chow fried noodles
£5.10
shrimp fried noodles
£5.40
king prawn fried noodles
£4.20
mixed vegetable fried noodles
£4.20
mushroom fried noodles
£5.30
chicken fried noodles in black bean sauce
with green pepper - hot and spicy
£5.30
beef fried noodles in black bean sauce
with green pepper - hot and spicy
£5.30
roast pork fried noodles in black bean sauce
with green pepper - hot and spicy
£5.60
king prawn fried noodles in black bean sauce
with green pepper - hot and spicy
£5.60
duck fried noodles in black bean sauce
with green pepper - hot and spicy
£5.30
satay chicken fried noodles
£5.40
satay beef fried noodles
£5.40
satay roast pork fried noodles
£5.80
satay king prawn fried noodles
£5.80
house special fried vermicelli
£4.30
plain fried vermicelli
£4.90
chicken fried vermicelli
£5.00
beef fried vermicelli
£4.90
roast pork fried vermicelli
£5.30
singapore fried vermicelli
hot and spicy
£4.60
mixed vegetable fried vermicelli
£4.70
mushroom fried vermicelli
£5.10
yung chow fried vermicelli
noodle dishes
£5.70
thai green curry
beef
£5.70
thai green curry
duck
£5.70
thai green curry
king prawn
£5.70
thai green curry
chicken
£5.70
thai green curry
roast pork
£5.70
thai yellow curry
beef
£5.70
thai yellow curry
duck
£5.70
thai yellow curry
king prawn
£5.70
thai yellow curry
chicken
£5.70
thai yellow curry
roast pork
£5.70
thai red curry
beef
£5.70
thai red curry
duck
£5.70
thai red curry
king prawn
£5.70
thai red curry
chicken
thai dishes
£5.70
king prawn omelette
£4.80
roast pork omelette
£4.90
chicken omelette
£4.60
mushroom omelette
£5.60
house special omelette
£5.10
duck omelette
£5.30
shrimp omelette
£4.30
plain omelette
£5.80
house special with gravy
£5.80
king prawn with gravy
£5.20
beef with gravy
£5.00
chicken with gravy
hot and spicy
£5.60
roast duck with gravy
hot and spicy
english dishes
£5.30
sweet and sour chicken balls dinner box
served with egg fried rice or chips and sauce - 5 pieces
£5.30
beef in black bean sauce dinner box
£5.30
(Video) THE MOST BEAUTIFUL 😍 LOOKING BURGER 🍔 IN NOTTINGHAM - BURG BURGER!beef curry dinner box
£5.30
chicken in black bean sauce dinner box
£5.40
chicken curry dinner box
£5.40
sweet and sour chicken dinner box
hong kong style
£5.40
roast pork in black bean sauce dinner box
with green pepper
£5.40
roast pork curry dinner box
£5.40
sweet and sour roast pork dinner box
hong kong style
£5.80
king prawn curry dinner box
£5.80
king prawn in black bean sauce dinner box
with green pepper
£5.80
satay king prawn dinner box
£5.40
beancurd curry rice dinner box
£5.40
sweet and sour beancurd dinner box
hong kong style
£5.40
beancurd in black bean sauce dinner box
with green pepper
special dinner boxes
£1.50
curry sauce
£1.50
sweet and sour sauce
£1.50
barbecue sauce
£1.50
honey spicy sauce
£2.40
black bean sauce
£2.40
hoi sin sauce
£1.50
gravy
side orders
£2.70
banana fritters in syrup
£2.80
apple fritters in syrup
£2.80
pineapple fritters in syrup
£0.90
can of soft drink
coca-cola
£0.90
can of soft drink
diet coke
£0.90
can of soft drink
fanta
£0.90
can of soft drink
7up
£0.90
can of soft drink
dr pepper
£2.10
bottle of soft drink
coca-cola
£2.10
bottle of soft drink
diet coke
drinks and desserts
£8.30
set meal a1 - for 1 person
sweet and sour chicken hong kong style 4 pieces of vegetarian spring rolls egg fried rice
£8.30
set meal b1 - for 2 persons
5 pieces of sweet and sour chicken balls 2 x prawn on toast egg fried rice
£8.70
set meal c1 - for 1 person
chicken and sweetcorn soup chicken with green pepper in black bean sauce egg fried rice
£10.20
set meal d1 - for 1 person
sweet and sour pork hong kong style lemon chicken egg fried rice
£14.90
set meal e1 - for 1 person
beef with green pepper in blac bean sauce sweet and sour chicken hong kong style stir fried mixed vegetables egg fried rice
£22.70
set meal b - for 2 persons
salt and pepper chicken wings 4 pieces of vegetarian spring rolls chicken with green pepper in blac bean sauce stir fried mixed vegetables sweet and sour pork hong kong style 2 x small egg fried rice
£29.30
set meal c - for 3 persons
house combination - for 3 persons barbecue spare ribs beef with green pepper in blac bean sauce sweet and sour chicken hong kong style tofu with bamboo shoots and chinese mushrooms 3 x small yung chow fried rice
£47.30
set meal d - for 4 persons
half crispy aromatic duck served with 10 pancakes crispy shredded beef chicken with green pepper in blac bean sauce stir fried mixed vegetables honey spicy spare ribs king prawn with ginger and spring onion 4 x small yung chow fried rice
set meals
£0.00
egg fried rice
£0.00
portion of chips
£0.00
chicken balls with sweet and sour sauce
£0.00
curry sauce
£0.00
chicken fried noodles
£0.00
prawn crackers
£0.00
house combination
£0.00
singapore fried rice
£0.00
house special rice
£0.00
sweet and sour chicken hong kong style
China Taste Menu items and prices are updated regularly. If the menu is inaccurate please let us know by contacting us here.
FAQ
Does China Taste offer delivery?
Yes, China Taste offers delivery and you can check at TastyFind if they deliver to your door.Does China Taste offer takeaway?
Yes, China Taste offers takeway.How many stars has China Taste?
China Taste has 4 stars.What type of food does China Taste deliver?
China Taste delivers Chinese, Thai, Cantonese.Do China Taste has their menu online?
Yes, China Taste menu is online and you can find it at TastyFind.What is the exact location of China Taste?
China Taste is located at 151 Mansfield Road, Nottingham, NG13FR, Nottingham.Is there any current discount available for China Taste?
You can find if the restaurant has any discounts available at TastyFind.People who viewed this restaurant also viewed:
-
6
Dragon Paradise
- Chinese
-
6
Tiger Lounge
- Chinese
- Vegetarian
- Cantonese
-
6.5
New World Cantonese Restaurant
- Chinese
- Healthy
-
6
Peking Chef
- Chinese
- Halal
- Peking
-
7.5
Golden States
- Chinese
Nearby Restaurants:
-
10
Costa Coffee (Birkenhead SC)
-
10
Haku (Woodside Ferry Village)
-
10
McDonald's - Foregate St
-
10
Ephesus Grill
-
10
Burger nest Chester
"; $('.pricetag', $resturant).replaceWith(newMarkup); });jQuery('#RestaurantSites3875').yiiListView({'ajaxUpdate':['RestaurantSites3875'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false,'url':false});jQuery('#yw0').yiiListView({'ajaxUpdate':['yw0'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw1').yiiListView({'ajaxUpdate':['yw1'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw2').yiiListView({'ajaxUpdate':['yw2'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw3').yiiListView({'ajaxUpdate':['yw3'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw4').yiiListView({'ajaxUpdate':['yw4'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw5').yiiListView({'ajaxUpdate':['yw5'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw6').yiiListView({'ajaxUpdate':['yw6'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw7').yiiListView({'ajaxUpdate':['yw7'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw8').yiiListView({'ajaxUpdate':['yw8'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw9').yiiListView({'ajaxUpdate':['yw9'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw10').yiiListView({'ajaxUpdate':['yw10'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw11').yiiListView({'ajaxUpdate':['yw11'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw12').yiiListView({'ajaxUpdate':['yw12'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw13').yiiListView({'ajaxUpdate':['yw13'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw14').yiiListView({'ajaxUpdate':['yw14'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});jQuery('#yw15').yiiListView({'ajaxUpdate':['yw15'],'ajaxVar':'ajax','pagerClass':'pager','loadingClass':'list\x2Dview\x2Dloading','sorterClass':'sorter','enableHistory':false});(function() { $('span').each(function() { this.onclick = function() {} }); $('.menu-drop').click(function() { $(this).toggleClass("menu-drop-clicked"); $list = $(this).find('.list-view .menu-list-item'); $list.toggle(); }); var shrinkHeader = 350; $(window).scroll(function() { var scroll = getCurrentScroll(); if(scroll < shrinkHeader && $('#minisearch').is(':not(:focus)')) { hideSearchBar(); } if (scroll >= shrinkHeader) { showSearchBar(); showToTop(); } else { hideToTop(); } }); function showSearchBar() { $('.fixheader').addClass('fixheadpos2'); $('.fixheader').removeClass('fixheadpos1'); } function hideSearchBar() { $('.fixheader').addClass('fixheadpos1'); $('.fixheader').removeClass('fixheadpos2'); } function showToTop() { $('.to_top').addClass('block'); $('.to_top').removeClass('none'); } function hideToTop() { $('.to_top').addClass('none'); $('.to_top').removeClass('block'); } function getCurrentScroll() { return window.pageYOffset; }})(); $(document).on('click', 'button[data-hook="menuitem"], li[data-hook="cartitem"]', function(evt) { evt.stopPropagation(); console.log(arguments); _el = $(this); _data = _el.data(); _cart = $('#Cart-'+_data.itemcategory+ ' .order-opts'); _cartitem = $('#cartitem-'+_data.menuitemid); if (_cartitem.length === 0) { // create item _cartitem = _new = $('
'+_data.itemtitle+' (1)
'); _cartitem.data(_data); _cart.append(_new); _cartitem.data({qty: 1, price: parseFloat(_data.price)}); } else { if ($(evt.target).data('hook') === 'remove-item') { _qty = $('span[data-hook="item-qty"]', _cartitem); _qtyInt = _cartitem.data('qty'); _qty.text("("+(_qtyInt-1)+")"); _cartitem.data('qty', _qtyInt-1); if ((_qtyInt-1) <= 0) { _cartitem.remove(); } } else { // update qty _qty = $('span[data-hook="item-qty"]', _cartitem); _qtyInt = _cartitem.data('qty'); _qty.text("("+(_qtyInt+1)+")"); _cartitem.data('qty', _qtyInt+1); } } _cart.parents('#Cart-'+_data.itemcategory).fadeIn(300, function(){ $('#SearchResultsListView').trigger('updateprice'); }); $('#SearchResultsListView').on({ updateprice: function(){ totalPrice = 0; $('#OrderArea li[id^="cartitem-"]').each(function(idx, _el) { _d = $(_el).data() totalPrice += _d.price*_d.qty; }); newMarkup = "
Best Price
£"+ totalPrice.toFixed(2) +"
Checkout
"; $('.pricetag', this).replaceWith(newMarkup); } }); $('#TastyFind_models_NewSchema_Restaurant_menuItem').val(''); }); $('[data-url]').css('cursor', 'pointer'); $('[data-url]').click(function() { window.location = $(this).data('url'); }); $('#minisearch, #menu-search-more').keyup(function(event) { if(!(typeof searchTimer === 'undefined')) { clearInterval(searchTimer); } var inputText = $(this).val(); $('#minisearch, #menu-search-more').val(inputText); $('.loading-panel').show(); $('.menu-list').css('opacity', 0.3); searchTimer = setInterval(function() { $('.loading-panel').hide(); $('.menu-list').css('opacity', ''); var inputText = $('#menu-search-more').val(); $('.menu-drop').show(); $('.menu-wrap').show(); $('.menu-drop').removeClass('menu-drop-clicked'); if(inputText !== "") { $('.menu-list-item').show(); $('.menu-food').each(function() { var $self = $(this); var $titleElement = $self.find('h6'); var titleText = $titleElement.text(); if(titleText.toLowerCase().match(inputText.toLowerCase())){ var textInBold = boldSearch(titleText, inputText); $titleElement.html(textInBold); $self.closest('.menu-drop').addClass('menu-drop-clicked'); } else { var $menuEntry = $self.closest('.menu-wrap'); $menuEntry.hide(); var $menuListItem = $menuEntry.closest('.menu-list-item'); if($menuListItem.children(':visible').length == 0) { var $subMenu = $menuListItem.closest('.menu-drop'); $subMenu.hide(); } } }); } else { $('.menu-list-item').hide(); } clearInterval(searchTimer); }, 200); }); var searchTimer; function boldSearch(input, needle) { return input.replace(new RegExp('(.*)?(' + needle + ')(.*)?','i'), '$1$2$3'); }jQuery('#signup-owner').yiiactiveform({'validateOnSubmit':true,'hideErrorMessage':true,'afterValidate':function(form, data, hasError) { if(hasError) { for(var i in data) $("#"+i).addClass("empty"); //return false; } else { form.children().removeClass("empty"); $.nmTop().resize(true); //return true; } return false; },'afterValidateAttribute':function(form, attribute, data, hasError) { if(hasError) { $("#"+attribute.id).addClass("empty"); } else { $("#"+attribute.id).removeClass("empty"); $(form).find(".error-message").text(""); $.nmTop().resize(true); } },'attributes':[{'id':'RestaurantOwnerSignupForm_email','inputID':'RestaurantOwnerSignupForm_email','errorID':'RestaurantOwnerSignupForm_email_em_','model':'RestaurantOwnerSignupForm','name':'email','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Email cannot be blank.");}if(jQuery.trim(value)!='' && !value.match(/^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/)) {messages.push("Email is not a valid email address.");}}},{'id':'RestaurantOwnerSignupForm_password','inputID':'RestaurantOwnerSignupForm_password','errorID':'RestaurantOwnerSignupForm_password_em_','model':'RestaurantOwnerSignupForm','name':'password','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Password cannot be blank.");}}},{'id':'RestaurantOwnerSignupForm_confirm_password','inputID':'RestaurantOwnerSignupForm_confirm_password','errorID':'RestaurantOwnerSignupForm_confirm_password_em_','model':'RestaurantOwnerSignupForm','name':'confirm_password','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Confirm Password cannot be blank.");}if(value!=jQuery('#RestaurantOwnerSignupForm_password').val()) {messages.push("Confirm Password must be repeated exactly.".replace('{compareValue}', jQuery('#RestaurantOwnerSignupForm_password').val()));}}}],'errorCss':'error'});jQuery('#login-owner').yiiactiveform({'validateOnSubmit':true,'hideErrorMessage':true,'afterValidate':function(form, data, hasError) { if(hasError) { for(var i in data) $("#"+i).addClass("empty"); //return false; } else { form.children().removeClass("empty"); $.nmTop().resize(true); //return true; } return false; },'afterValidateAttribute':function(form, attribute, data, hasError) { if(hasError) { $("#"+attribute.id).addClass("empty"); } else { $("#"+attribute.id).removeClass("empty"); $(form).find(".error-message").text(""); $.nmTop().resize(true); } },'attributes':[{'id':'RestaurantOwnerLoginForm_email','inputID':'RestaurantOwnerLoginForm_email','errorID':'RestaurantOwnerLoginForm_email_em_','model':'RestaurantOwnerLoginForm','name':'email','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Email cannot be blank.");}}},{'id':'RestaurantOwnerLoginForm_password','inputID':'RestaurantOwnerLoginForm_password','errorID':'RestaurantOwnerLoginForm_password_em_','model':'RestaurantOwnerLoginForm','name':'password','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Password cannot be blank.");}}}],'errorCss':'error'});jQuery('#lost-pwd').yiiactiveform({'validateOnSubmit':true,'hideErrorMessage':true,'afterValidate':function(form, data, hasError) { if(hasError) { for(var i in data) $("#"+i).addClass("empty"); //return false; } else { form.children().removeClass("empty"); $.nmTop().resize(true); //return true; } return false; },'afterValidateAttribute':function(form, attribute, data, hasError) { if(hasError) { $("#"+attribute.id).addClass("empty"); } else { $("#"+attribute.id).removeClass("empty"); $(form).find(".error-message").text(""); $.nmTop().resize(true); } },'attributes':[{'id':'RestaurantOwnerLostPwdForm_email','inputID':'RestaurantOwnerLostPwdForm_email','errorID':'RestaurantOwnerLostPwdForm_email_em_','model':'RestaurantOwnerLostPwdForm','name':'email','enableAjaxValidation':false,'clientValidation':function(value, messages, attribute) {if(jQuery.trim(value)=='') {messages.push("Email cannot be blank.");}}}],'errorCss':'error'});$(function(){$('.lostpwd').on('click', function(){if($.nmTop()){ $.nmTop().close(); }$(this).nyroModal().nmCall();$(this).unbind('click.nyroModal');});})var submitModalForm = function(event) { event.preventDefault(); var $form = $(this); $($form.find('.success-message')).text(''); $($form.find('.success-message')).text(''); if($form.find(".empty").length > 0) { return false; } $submitButton = $form.find('[type="submit"]'); $submitButton.attr('disabled', 'disabled'); var formData=$form.serialize(); $.ajax({ type: 'POST', url: $form.attr('action'), data: formData, success:function(data){ $submitButton.removeAttr("disabled"); var jsonResponse = JSON.parse(data); if(jsonResponse.success === true && jsonResponse.redirectUrl) { window.location = jsonResponse.redirectUrl; } else if(jsonResponse.success === true && !jsonResponse.redirectUrl) { $($form.find('.success-message')).text(jsonResponse.message); if(jsonResponse.closeModal) { setTimeout(function(){ $.nmTop().close(); },3000); } } else { $($form.find('.error-message')).text(jsonResponse.message); } $.nmTop().resize(true); }, error: function(data) { $submitButton.removeAttr("disabled"); $($form.find('.error-message')).text("Please try again"); $.nmTop().resize(true); }, dataType:'html' }); return false;}$('#login-owner').submit(submitModalForm);$('#signup-owner').submit(submitModalForm);$('#lost-pwd').submit(submitModalForm);});/*]]>*/