Jump to content

thescientist

Moderator
  • Posts

    8,682
  • Joined

  • Last visited

Everything posted by thescientist

  1. good question. I'm not really sure what you're asking tbh. Are you getting an error? What is happening?
  2. @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)
  3. 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?
  4. thescientist

    NTX file

    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?
  5. looks at something like Angular (framework) vs jQuery or LoDash (libraries)
  6. what do you have so far? what are you stuck with? How well do you know HTML and CSS?
  7. 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.
  8. 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.
  9. Do you have a default state (.inactive class) already applied by default?
  10. thescientist

    php pagination

    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
  11. You're selector (#dropdowns) is only looking for changes on the <form>. Target the actual <select> elements instead, either by tag or by class.
  12. 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?
  13. thescientist

    php

    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?
  14. 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
  15. thescientist

    logging

    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.
  16. "on" is the correct way to do it and is supported http://learn.jquery.com/events/handling-events/
  17. 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
  18. 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.
  19. 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.
  20. 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?
  21. The issue is not the query. The issue is the OP actually needs to interact with the database.
  22. This is mostly just a matter of HTML / CSS. It would be helpful if you explained what errors you saw when trying to change the position.
  23. 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
  24. 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.
×
×
  • Create New...