Jump to content

# in address help..


UnknownPlayer

Recommended Posts

I have problem with # char in address and jquery, or any address with #.

When i put this code in my php:

<a href="#" id="dialog_link" class="ui-state-default ui-corner-all"><span class="ui-icon ui-icon-newwin"></span>Open Dialog</a>

.. my link on that button is still same like link that i am on it, it do not add "#" in address, but if i, instead of href="#", put href="#some_text", that link shows nice, link.php#some_text, but without text in # it doesn't work :S

Why is that happening, and how can i fix that?

Link to comment
Share on other sites

No no, look this code:

<a href="#">Button</a>

and there is a img:

ssssnf.png

but if i put(in this way it works fine):

<a href="##">Button</a>

or

<a href="#some_text">Button</a>

it shows me like this:

33549363.png

ddddlq.png

 

And now i dont know why it wont work if i put only one #, becouse i saw in jquery that they put only one # and it works to them, but it doesn't work on my php code :( ?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.