colouro
Forum Replies Created
-
Forum: Hacks
In reply to: Can't get jQuery ajax to workStill something wrong. it should redirect to something like:
https://colouro.lt/balc/?s=yul&shf_checkin=&shf_checkout=&shf_rooms=1&shf_guests=1&shf_kids=0
but the url address in the browser shows: https://colouro.lt/balc/#Forum: Hacks
In reply to: Can't get jQuery ajax to workDont you beleave me? :))
It does not redirects me to search results ??
Browser cache is cleaned.
I want to thank you so much for all that you done so far. So thank you so much ??Forum: Hacks
In reply to: Can't get jQuery ajax to workjsuna30, it almost work! ??
But now I am much happier then was all these days searching for a sollution :)))I putted alert messagges under the redirections just to make really sure ??
window.location.href = redir;
var answer = $jQ.parseJSON(data);
if ( answer.set_globals == “ok” ){alert(“Globals are set”); } else { alert(“Globals not set :(“); }And it alerts me, but does not redirect.
…few minutes before your sollution I did other thing. I did ajax on form change and it worked fine, but it shouldnt be done like that, couse it calls ajax at least 4 times when user puts hes info ??
Forum: Hacks
In reply to: Can't get jQuery ajax to workhey, jsuna30,
Do I have to write like this?[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
It does not helped ?? Still everything the same. Please look at my website one more time, maybe this time you will see something, becouse last time I tried other codes from wp.
Forum: Hacks
In reply to: Can't get jQuery ajax to workVery big thanks to you!
I did not tried it yet, but I have one more question.The redirection will be done after the ajax is completed? When ajax completes, then it goes further to do search?I will trie it later, Thank you so much, Ihope it will work!
Forum: Hacks
In reply to: Can't get jQuery ajax to workI think that when user clicks search submit button, it calls GET method and almost at the same time I call my ajax, that does it with POST. Can it be the problem?
Forum: Hacks
In reply to: Can't get jQuery ajax to workSorry thats the mistake I made writeing here. In the code it is right, I cant edit the post above. But it is not the main problem.
Forum: Fixing WordPress
In reply to: Flyouts occasionally don't appearI don’t remember everything but I tried to split the input value by “,” when there was no text inside, so this was the first mistake. Then just added the if statement:
if ( jQuery("#room-availability").length > 0 ){ var dates = jQuery("#room-availability").val().split(','); }
And before that i checked all my css. There was lots of small mistakes lik
width:900px;; of width;900px; or {]
Now I try to write everything carefully, becouse it is very hard to see those small mistakes ??
Forum: Fixing WordPress
In reply to: Flyouts occasionally don't appearThank you.
I found my problem. There was a mistake in jQuery in my functions.php. Now everything is working great ??Forum: Fixing WordPress
In reply to: Flyouts occasionally don't appearDid you found the answer?
I have the sasme problem. Also I noticed that sometimes flayouts appear when I am on one custom post type. Also not only flayouts not working but and drag and drop widgets on the dashbord, add new media button not working also…
Forum: Hacks
In reply to: How to change uploaded image name-150×150.jpg to name-thumbnail?Sorry for late responding.
Thank you very much!
Now I can get it from jQuery. First time I didnt saw that there is a file with name 400×300 as I write in a function. But now I am very happy! ??Forum: Hacks
In reply to: How to change uploaded image name-150×150.jpg to name-thumbnail?Thank you, I wil try.
Forum: Hacks
In reply to: Why when I set query author to current user id disappears meta boxes?I found the answer at illuminatikarate.