Please Log-in or Register to get full access to the forums.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] error: missing}after property list
5th September, 02:18
Post: #1
[Solved] error: missing}after property list
error: missing}after property list
can u help with this error in firebug??

var globalRedirect = {
tabLoad : 'OE',
stabLoad : '',
redirectUrl : '../action/intOnlineEnquiry?updateEnquiries&act=&enquirySeq=994&page=1&mail=kokhin33%40yahoo.com%0A%09%09%09%09%09&categoryCode=3&enquiryComment=can't+find+required+licensing+information+for+opening+a+super​market&respondComment=gh&_sourcePage=ewySSUMwcan53LHJL8WwMXyVNVdOcUXzzHTP0zEvQCgxEP1HgunNnTvrsCJ8IYJJ​MpYmwR2iBAM%3D&__fp=JMdwiMcWjZM%3D'
};
Find all posts by this user
Quote this message in a reply
5th September, 11:30
Post: #2
RE: error: missing}after property list
Your redirect URL has un-encoded characters in it, including a ', which is being parsed as the end of the string by the JS. Run your redirect URL through encodeurlcomponent().
Visit this user's website Find all posts by this user
Quote this message in a reply
6th September, 05:36
Post: #3
RE: error: missing}after property list
(5th September 11:30)Craig Wrote:  Your redirect URL has un-encoded characters in it, including a ', which is being parsed as the end of the string by the JS. Run your redirect URL through encodeurlcomponent().


how to do it???
Find all posts by this user
Quote this message in a reply
6th September, 12:31
Post: #4
RE: [Solved] error: missing}after property list
How are you outputting the above URL? Via PHP or similar?
Visit this user's website Find all posts by this user
Quote this message in a reply
7th September, 01:13 (This post was last modified: 7th September 01:15 by captamirul@yahoo.com.)
Post: #5
RE: [Solved] error: missing}after property list
(6th September 12:31)Craig Wrote:  How are you outputting the above URL? Via PHP or similar?


I'm not sure because I totally new in programming, but i suspect it may come from this code:

$("#updateEnquiries").click(
function() {
removeMessages();
$('#mail').val($('#email').html());
var comment = $('#respondComment').val();
if ($.empty(comment)) {
bless.Msg.alert('Online Enquiry',
'Please fill Respond Comment field.');
return false;
}

$('#link').attr(
'href',
'../action/intOnlineEnquiry?updateEnquiries&'
+ $('#intOnlineEnquiryIncomingDetails')
.serialize());
$('#link').click();

// $.ajax({
//url:'../action/intSubUserManagement?updateEnquiries&'+$('#intOnlineEnquiryIncomingDetails').serialize(),
// success:function(json){

// addMessages('Enquiry has been successfully answered');

// }
// });

});


*FYI I'm using eclipse indigo.
Find all posts by this user
Quote this message in a reply
7th September, 11:45
Post: #6
RE: [Solved] error: missing}after property list
Change this line:
JS Code
'../action/intOnlineEnquiry?updateEnquiries&' + $('#intOnlineEnquiryIncomingDetails').serialize()
To this
JS Code
'../action/intOnlineEnquiry?updateEnquiries&' + escape($('#intOnlineEnquiryIncomingDetails').serialize())
Visit this user's website Find all posts by this user
Quote this message in a reply
7th September, 12:58
Post: #7
RE: [Solved] error: missing}after property list
thank you so much....it works...but after I have replied the inquiries, it still in the inbox and answered inquiries box is empty like i never reply anything..respond status in database remain the value 0.
Find all posts by this user
Quote this message in a reply
10th September, 02:53
Post: #8
RE: [Solved] error: missing}after property list
do you have any solution for this???
Find all posts by this user
Quote this message in a reply
10th September, 15:22
Post: #9
RE: [Solved] error: missing}after property list
Well you'll need to check the AJAX request is being sent, what is being sent and what the response is. Can't really help since I don't know any of the details of what it is you're trying to achieve or what your backend is using etc. etc.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  ASP.NET - Error in sending Email from Google Apps suzank 0 1,862 20th May 09:06
Last Post: suzank
  IE7 error - works only from the second click on item in the tooltip yoram 0 2,886 25th July 09:34
Last Post: yoram
  [Solved] Uncaught TypeError: Cannot read property 'mozilla' of undefined sdeeds 1 4,659 23rd June 13:00
Last Post: Craig
  [Solved] Combining hide on blur and the fixed property Brinky 9 6,712 21st May 12:22
Last Post: Brinky
  qTip positions error xujunbocat 0 2,511 21st August 03:28
Last Post: xujunbocat
  [Solved] Tip mimic property doesn't change with flip viewport position.method ikhan 2 5,458 22nd May 04:58
Last Post: ikhan
  Dynamic contenct not working property in sortable cleung 5 5,650 8th December 18:45
Last Post: Craig
  [Solved] error when subscribing mplungjan 1 3,134 27th September 15:18
Last Post: Craig
  qtip thows script error 'parent is null' prasanthreddyp 1 3,467 12th September 17:16
Last Post: Craig
  [Solved] Wierd error: "v is undefined" aquinn 6 11,143 3rd June 09:01
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)