-
Posts
8,682 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by thescientist
-
using curl on Username & Password Protected pages
thescientist replied to confused and dazed's topic in PHP
what's the error?? -
good question. I'm not really sure what you're asking tbh. Are you getting an error? What is happening?
-
@OP as an aside, you should really learn to use code tags properly. it's more practical to put all the code in your post in one code tag block. (unless they are in different files, then separate code tag blocks is appropriate)
-
are you checking for errors or adding error reporting? whats the value of $result? also, not sure what you mean by are you asking how you can check if an email address really exists?
-
It still begs to know, why haven't you just reached out to the provider of the file? This entire discussion is theoretical, why don't you just ask the source?
-
looks at something like Angular (framework) vs jQuery or LoDash (libraries)
-
Will you please help me to write the code for the image?
thescientist replied to ferry_2020's topic in JavaScript
what do you have so far? what are you stuck with? How well do you know HTML and CSS? -
I have had positive interactions with StackOverflow but haven't contributed / participated in a while, just been really busy. However, it is pretty much always my goto for researching programming related questions when I Google for them.
-
hamburger menu still active when menu bar isn't open
thescientist replied to Doubleshot_84's topic in JavaScript
To clarify, is this issue happening on page load too, or are the links only showing as active after you click to close the hamburger menu.- 4 replies
-
- javascript
- hamburger
-
(and 2 more)
Tagged with:
-
hamburger menu still active when menu bar isn't open
thescientist replied to Doubleshot_84's topic in JavaScript
Do you have a default state (.inactive class) already applied by default?- 4 replies
-
- javascript
- hamburger
-
(and 2 more)
Tagged with:
-
Have you tried googling? This is a very common feature and there are a ton of resources online for help implementing this. https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=pagination%20php
-
It looks like you were missing a comma here $.cookie('Cookie1', 'Kooky'{ expires: date }); And I'm not sure why you were checking for typeof, it should just be sufficient to pass the cookie name if ($.cookie('Cookie1')) { //cookie exists} else { //cookie doesn't exist}; here are the docs https://github.com/carhartl/jquery-cookie/tree/v1.4.1 Regarding references to $.cookie not doing anything, where you checking for errors in the console? What happens if you logged $.cookie? Are you sure the file was being loaded correctly?
-
Both Ingolme and JSG have. I think you need to read the replies people give to you a little more carefully. Have you considered doing some of research on your own first?
-
No need to repeat what has already been said a couple times already. If the OP is not watching the thread anymore, nothing we can do about it
-
mail function is fairly straightforward, I would have expected the OP to reply with questions about a specific implementation if he had any issues. We encourage people to try first with code. Also, some of us lose track of our time and the topics, we are volunteers after all.
-
"on" is the correct way to do it and is supported http://learn.jquery.com/events/handling-events/
-
How are you testing? Checking your developer tools? Or just guessing? You need to debug and troubleshoot. I would revaluate how you are trying to obtain that value. I would advise against your approach, and would advocate you use the DOM API using a method like getElementById
-
I'm not sure what that means. what change did you make, to the event variable name, or to e the variable name? Is that after you've clicked the submit button? It doesn't seem like you are really trying to figure this out. Use the tools you have. Add more alert statements, or better yet use console.log. This is part of being a programmer, you have to really drill down into your code and track how it's running. Everything you could need is in those developer tools, especially in the console. Get comfy learning how to use it.
-
Input tag ceases working when moved to later in table
thescientist replied to SerenityNetworks's topic in JavaScript
what browser are you using? Every modern day browser comes with a set of development tools for viewing network requests made by the page, assets loaded, cookies, and a javascript error console (amongst other features). Look at justsomeguy's signature, he has links for the popular browsers. -
Did you even check for errors? You pass in e, but used event. That should be a runtime error. What's in your browser console?
-
The issue is not the query. The issue is the OP actually needs to interact with the database.
-
You mean using query parameters in Javascript? You can get anything from the page's address by using the location object. Like the search property, in your case http://www.w3schools.com/jsref/obj_location.asp
-
Have you confirmed that the sendmail.php script works on its own? How are you debugging that end of it? Are you saying you're not seeing an alert no matter what the response? Or you see a response but no email? If it's the email script, that's a PHP related issue and you would need to debug your sendmail script in isolation first.