如何在ajax url中编码“ +”符号

                <div class="grid--cell fl1 lh-lg">
                    <div class="grid--cell fl1 lh-lg">
                        It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and   cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened,   <a href="/help/reopen-questions">visit the help center</a>.

                    </div>
                </div>
            </div>
            <div class="grid--cell mb0 mt8">Closed <span title="2011-06-18 11:25:25Z" class="relativetime">8 years ago</span>.</div>
        </div>
    </aside>

After + sign my url sting is terminated please give solution.

</div>

Try this function: encodeURIComponent("+")