Vasiliy Selivanov

  • RSS

Facebook Fb.UI and “An error occurred. Please try again later.”

Posted on Monday, June 13th, 2011

If you tried to make feed posting via javascript 1234567FB.ui({     method: ‘feed’,     name: ‘Title’,     link: ‘http://example.com’,     picture: ‘http://example.com/image.jpg’,     description: ‘description’ }); but have error message “An error occurred. Please try again later.”. To solve this just add your application id as app_id parameter 12345678FB.ui({   [...]

continue reading

Regular expressions!

Posted on Thursday, January 29th, 2009

Check this online tool http://gskinner.com/RegExr/. Check you regular expressions with this amazing flex application. ex. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

continue reading

Forms in Google Docs

Posted on Wednesday, September 3rd, 2008

You could see a new doc type in google docs. It’s forms!   Features: Creating forms Print You can create a form from the Docs list or from any spreadsheet. Creating a form from your Docs list: Click New > Form In the form template that opens, you can add any questions and options you’d [...]

continue reading

Archive for the ‘IE’ Category

symfony ahDoctrineEasyEmbeddedRelations plugin, IE and Compatibility View Mode

Friday, March 18th, 2011

I have found interesting bug with symfony ahDoctrineEasyEmbeddedRelations plugin when you use IE Compatibility View Mode. Always save only 2 instance and never more. So lets find why it is happen.

(more…)

Multiple File Upload plugin for jQuery and IE7 and jQuery validation form

Wednesday, May 14th, 2008

All of you, maybe, know about this super Multiple File Upload. But when I start use it I have a strange things in IE7. I know it you could see it on the plugin website. (Select one file and the set focus again to this field or just try to upload another file).

bug

 

So have I fix this bug.

1. open jquery.MultiFile.js some with editors

2. after

        /// now let’s use jQuery
        slave = $(slave);

insert  this

        slave.attr("name",(slave.name || $(MASTER).attr(‘name’) || ‘file’));
        slave.attr("id",(slave.id || MASTER.generateID(slave.i)));
        slave.val(”);
        slave.focus();

3. change

        // Remove element, remove label, point to current
                                        if(slave.i==0){
                                            $(MASTER.eCur).remove();
           MASTER.eCur = slave;
                                        }
                                        else{
                                            $(slave).remove();
                                        };

to

$(slave).remove();

 4. Thats all!

Now problem with jQuery validation plugin.

If you have a error message about that you should enter data less or equal some number.  You should replace all ".max" to ".maximum". Thats all too.

It was very helpful for me, so I hope it will be helpful for you!. If you have any question just ask me.