No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
20 Posted Topics
I want to write a new version of [my jQuery extension](http://benilicous.blogspot.com/2012/05/jquery-jmake-v3-adding-appending.html) but I want to ask before diving into it. So here is what I have and what I want, I am not sure whether I am goind in the good way with this question so feel free to express … | |
Hello Everybody, I thought it'd be a great idea to share my code with people who s*ck with the same problem, maybe it'll help... :) It still needs security improovements, but since I'm not a Java guru, I'm a little slow with the solution... :) Any help would be appreciated! … | |
Re: If you know the exact position of your number in the String, you can use the String.substring method, to decrypt your number. However, you do your testing as you wish! :) [CODE]String bookID = "ABCDE5"; int number = 10; NumberFormatException e = null; // the exception variable that is thrown … | |
Re: [CODE] <div style="position:relative;"> <table width="200px" height="200px" border="8" cellpadding="80" bordercolor="black" cellspacing="0"> <tr height="50%"> <td width="50%"></td> <td width="50%">Welcome</td> </tr> <tr height="50%"> <td width="50%"></td> <td width="50%">Client</td> </tr> </table> <div style="position:absolute; margin:0 auto; top:10px; left:10px; width:auto; height:180px"></div> </div> [/CODE] this should work... However, it might be a good idea to know what you're doing, … | |
Re: [CODE]<HTML> <HEAD> <TITLE>TMA 02 Q4(ii)</TITLE> <SCRIPT type="text/javascript"> var loc = window.prompt("Please enter your location:", ""); var weather = window.prompt("Please enter the weather:", ""); var name = window.prompt("Please enter your name:", ""); document.write(loc+", "+weather+", "+name+"<br />See you soon!"); </SCRIPT> </HEAD> <BODY> </BODY> </HTML>[/CODE] - The attribute of the script called 'language' … | |
Re: I can also think of some OS issues there... You never know on Windows... =) Are those sites using cookies? Are cookies enabled? Maybe your system erases them, and if the sites don't find their cookie, they're gonig to log you out... | |
Hello everybody, I need advices about software development. I'm not an all-knowing-programmer so I have a few questions about it: - My application's GUI is getting ready to be developed. I want it primarily to run on Windows, Linux/Unix and Mac also. But I also need it to be looking … | |
Hello everyone, I'd like to ask for your kind help of creating toolbars for browsers. Below are my questions: - First of all, how to do it? =) - Where can I find sources for them? - Is there any toolbars which is "cross-browser"? - What should I be aware … | |
Hello everybody! I've found some solutions to colorize scrollbars, but the fact is that I need to redesign it with HTML & CSS if it is possible. So I don't really like flash, and my application needs a new scrollbar... So I was thinking to design a new one, and … | |
Hy people! =) I'm really interrested about Ubuntu Studio 10.04, and I really want to install it on my notebook. But, my question is the following: - I have Windows 7 Ultimate installed, and I was wondering if Ubuntu 10.04 can "see" the Windows's file-system? I have 3 partitions: 1 … | |
Hello! =) I have a big problem here, with PHP charset stuff. My mysql is utf8_hungarian_ci , but the php shows me only '?' and ?inDiamond signs. I guess the PHP's working incorrectly, because my MySQL returns my records just fine. Any solutions? =) Thank you! | |
Hello! =) Please help me with this! =) This is my last one to my diploma work! =) If the user enters a number in the textfield, than JS should set the selection in the textarea to that line. Empty lines are changed to " \n" coz I like for-in … | |
Hy again! =) Here's my problem. My AJAX doesn't want to work, and Firebug gives me this error message: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [url]http://localhost/mysite/js/functions.js[/url] :: callSaveFile :: line 273" data: no]". So as u see I'm using … | |
Hello again! I need your help again, people! =) So here's my problem: This line replaces only the first "\n" spec. character in my textarea, and this way everything's screwed up... I'm sending the replaced content of the textarea through AJAX to the server, in a GET method. I've tried … | |
Dear Dudes! =) If anybody has a complete list of php methods separate in a file, please share it with me! I really need a txt file containing all of the PHP methods. It goes for my diploma work also... =) Ex: [CODE] for(){} //new line if(){} //new line switch(){} … | |
Re: Hy! U should use GET. Print the records in an <a> (anchor element) and push the records after the site you are requesting. Like: PHP-SQL: [CODE] $q=mysqli_query($dbc, "SELECT * FROM 'table_name' "); ehco "<ul>"; while($row=mysqli_fetch_array($q)){ //or as u want assoc, object, row echo "<li><a href='somewhere.php?".$row["result_name"]."=".$row["result"]."'>".$row["result"]."</a></li>"; }; echo "</ul>"; [/CODE] Or … | |
Hello everybody! I have a serious problem with my diploma work! So here it is: My ajax.js file cannot be executed. It does nothing when I click on the buttons... Here's the ajax.js code:4 [CODE] function opensave(type){ url="open.php"; content=replacer("editor"); var xmlhttp=if(window.XMLHttpRequest){ new XMLHttpRequest(); } else if(){ new ActiveXObject("Microsoft.XMLHTTP"); }; xmlhttp.onreadystatechange=stateChanged(); … | |
Re: [CODE]<script type="application/javascript"> function hello(clicked) { alert(clicked); return false; } </script> <form action="<?php echo $_POST['fname']; ?>" method="POST"> <input type="text" name="fname" /> <input type='submit' name='Release' onSubmit="hello(document.getElementsByName('fname'))'' value='Submit'> </form>[/CODE] Does that work for you? =) I'm not that old in PHP either... But I guess this should give the basic idea at least, … | |
Re: <?php $link = mysqli_connect("localhost", "uname", "pword", "dbname"); $query="SELECT ID FROM tbl_sellers"; $result=mysqli_query($link, $query); $count=0; while($row=mysqli_fetch_array($result)){ $count++; } echo "$count."<br />"; ?> OR <?php $link = mysqli_connect("localhost", "uname", "pword", "dbname"); $query="SELECT ID FROM tbl_sellers"; $result=mysqli_query($link, $query); $count=count(mysqli_fetch_array($result); echo "$count."<br />"; ?> | |
Hey all! I'm a student in Hungary. I'm pushing two specialties in my college: Media-Technologist and Design. I'm interrested about webdesign, webprogramming ( still got much to learn ), 3D, DTP. I'm also a massage therapyst, just for fun. =) So at least I'm not totally a 'cube'... That's how … |
The End.