Jump to content

vivekam8

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by vivekam8

  1. I am very new to jquery and ajax. While googling (i wonder if "googling" is a dictionary word!!) for some code which enables to toggle between two divs using radio buttons, I stumbled upon this code. It is not working but I feel it is very close to being correct!! Can someone help me to correct this? Thanks in advance Your fan! <html> <head> <script type="text/javascript"> $(function() { $("[name=toggler]").click(function(){ $('.toHide').hide(); $("#blk-"+$(this).val()).show('slow'); }); }); </script> </head> <body> <label><input id="rdb1" type="radio" name="toggler" value="1" />Money</label> <label><input id="rdb2" type="radio" name="toggler" value="2" />Interest</label> <div id="blk-1" class="toHide" style="display:none"> money </div> <div id="blk-2" class="toHide" style="display:none"> interest </div> </body> </html>
  2. This is what I have so far. It is opening in a seperate window but I want the background to be greyed out... <FORM ACTION="./save_to_favorites.php" METHOD="POST" NAME="MYFORM" ID="MYFORM" TARGET="MyNewWindow"> <INPUT TYPE="hidden" VALUE="MYVALUE" NAME="T_TYPE"> <A HREF="#" class="link4" onclick="document.MYFORM.submit(MyNewWindow=window.open('./save_to_favorites.php','MyNewWindow','width=500,height=400,stat us=no,location=no,menubar=no,scrollbars=no,resizable=no')); return false;"><b>Save to Favorites</b></A> I am going to read the tutorial that joel24 suggested...Thanks Joel...It is much appreciated... In the meantime, any help is greatly appreciated...
  3. Guys, I need some help with php coding. I am kind of new to php... I have a page where search results are dislayed. There is a checkbox to select each search result. When the user clicks on a "save to favorites" link (This link is located above all the search results), a popup window will open (with the background greyed out) with appropriate message like: Please login first to Save to Favorites OR Please select atleast one result in order to save to favorites OR Thanks for Saving to favorites! Any help is greatly appreciated... Thanks, Kevin
×
×
  • 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.