271 Discussion / Question Topics

Remove Filter
Member Avatar for riahc3

Hello Im trying to modify something when clicking on a input text field. The id of that field is cart[1223686][qty]. Tried your standard: $j("#cart[1223686][qty]").click(function() { alert("Handler for .click() called."); }); But nothing. What is wrong? (Yes, $j is correct)

Member Avatar for riahc3
0
144
Member Avatar for riahc3

Hello Lets clear it up a bit: I want to get the width and height of the browser window where I can click. This does not include scrollbars/toolbars. I thought it was with innerheight/width. Strangly, width works (I resize it and onload shoots a alert and it is changed) but …

Member Avatar for riahc3
0
278
Member Avatar for riahc3

Hello Now that I know how to get the width/height, how can I detect if the browser is maximized or not? Crossbrowser of course. Thanks

Member Avatar for AleMonteiro
0
234
Member Avatar for riahc3

Hello What is a universal way to make a windows/browser maximized or fullscreen? I understand user intervention is neccesary so it can be a button even though I perfer automatically (even if it is maximized instead of fullscreen) Thank you

Member Avatar for riahc3
0
47
Member Avatar for riahc3

Hello Im currently creating BMPs as a bufferedimage as following: BufferedImage bufferedImage = new BufferedImage(320, 320, BufferedImage.TYPE_INT_RGB); Thing is that black and white is more than enough for me so would I do this: BufferedImage bufferedImage = new BufferedImage(320, 320, BufferedImage.TYPE_BYTE_BINARY); ? Thanks

Member Avatar for riahc3
0
86
Member Avatar for riahc3

Im trying to set a session variable using AJAX but it doesnt seem to work: This is my PHTML page: <?php session_start(); ?> //SOME CODE <script type="text/javascript"> $j(document).ready(function() { var variablecalle=$j("#listadetiendas").val(); var data = 'calle='+variablecalle; $j.ajax({ url: '../../updatesession.php', type: 'POST', data: data }) }); Then this is my "updatesession.php" page: …

Member Avatar for riahc3
0
12K
Member Avatar for riahc3

Hello I have this drawing program on a canvas and when it is on the top left corner of the document, when I move the cursor over the canvas and it previews the point Im going to click it is perfect. But when I move the canvas (say 5 pixels) …

Member Avatar for riahc3
0
80
Member Avatar for riahc3

Hello I want to create a button that when the user clicks on it, the browser goes automatically fullscreen. It would be for mainly IE9 and I use for the rest of the browsers the HTML5 fullscreen API. Thanks

Member Avatar for diafol
0
228
Member Avatar for riahc3

Hello I have a combobox which has some values. When I click on it and select a item (with my mouse, for now) I want to get those values. Im not sure if its mousedown or comboboxchange or how its called. Now Im a completely noob when it comes to …

Member Avatar for Taywin
0
202
Member Avatar for riahc3

Hello By the way Javascript works Im not sure if this is possible but I would like to debug Javascript much like debugging C# or/and Java; I put a breakpoint in a line and press (for example) F5 so it goes to the next line/function and pauses and keeps going …

Member Avatar for riahc3
0
252
Member Avatar for riahc3

Hello I want to make a C# web services for XAMPP (basically Apache). I know I have to download a mod for this but first thing is first: Where is a good guide to read on how to create a web service? Guides Ive found are either outdated or very …

Member Avatar for AleMonteiro
0
880
Member Avatar for riahc3

Hello I wish to convert the following jQuery each to fors....This way I can see it a lot clearer.... var draws = this.canvasListener.getDrawManager().getAll(); $j.each(draws, function(index, draw) { var points = draw.getPointManager().getAll(); $j.each(points, function(index, point) { }.bind(this)); } Yes, I know "each" is faster and better optimize but I dont care. …

Member Avatar for riahc3
0
145
Member Avatar for riahc3

Ive created a dropdown box dynamically getting datea from a database but when I try to get (or set) the first value, it always says undefined. Ive tried something like: $j("#mydiv").val(1); var somevariable = $j("#mydiv").val(); console.log ("print it out " + somevariable); And it says print it out undefined If …

Member Avatar for riahc3
0
171
Member Avatar for riahc3

Hello Im wondering if Thickbox is movable. If not, is there a alternative that I can quick change to (meaning almost no transtition) so I make a modal window movable....Must support iframes.

Member Avatar for riahc3
0
98
Member Avatar for riahc3

Man that was a mouthful! Basically I have a page which when I click on a button, a jQuery (iframe) window comes up. Here there is a combobox that should be filled with values I read from a database. Ive been reading two pages: http://openenergymonitor.org/emon/node/107 http://stackoverflow.com/questions/8019489/simple-ajax-jquery-script-how-can-i-get-information-for-each-of-the-rows-in-the But Im having problems …

Member Avatar for riahc3
0
954
Member Avatar for riahc3

Hello Ive created a button dynamically using Javascript and now I want to automatically click on it. The code I create (actually modify) the button is something similar to: $j(idtext, window.parent.document).html('I am a button<input type="hidden" id="imagenv" name="imagenv" value="'+imgstr+'"/>'); Now I want to automatically click on it. Ive tried .live() (I …

Member Avatar for EvolutionFallen
0
6K
Member Avatar for riahc3

Hello I answered my own thread and marked the thread as solved but it gave another user (which really didnt help at all) the "solved post". How can I select who and what post solved the thread?

Member Avatar for diafol
0
220
Member Avatar for riahc3

I habe table one with Col 1 (PK) Col 2 (NN) Col 3 (NN) Col 4 (NN) Col 5 (NN) Col 6 Col 7 Col 8 Then I create table two with Col 1 (PK) (AI) Col 2 Col 3 (FK) That col 3 from table two is col 1 …

Member Avatar for pritaeas
0
123
Member Avatar for riahc3

Hi This is related to 3 threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 http://www.daniweb.com/software-development/java/threads/442142/recursive-ftp-listingmakingcreatingetc-access...-part-3 At first, I had NO clue where to even start. Over a couple of weeks, Ive slowly but surely started to make the process correctly but Im stumpped so (for the third time) ive thought of rewriting everything from sratch. …

Member Avatar for riahc3
0
255
Member Avatar for riahc3

I apoligize for making so many topics about this......Its just that different methods have proved pointless and do not work. I want to do the following: I only have two functions right now: createfolder (Function A) and insertfile (Function B). Nothing else. My requirements are the following: Random number is …

0
68
Member Avatar for riahc3

In java what is the best way to create a truely random number sequence? One that is 100% never to be repeated again Thank you

Member Avatar for jalpesh_007
0
415
Member Avatar for riahc3

This a followup to these two threads: http://www.daniweb.com/software-development/java/threads/438729/recursive-ftp-listingmakingcreatingetc-access http://www.daniweb.com/software-development/java/threads/439941/recursive-ftp-listingmakingcreatingetc-access...-part-2 For the "real thing" Ive decided to break it to two function: Insert file and make directory. Ill reexplain what I am trying to do. Im going to go a folder called "webfolder". If it isnt found, it is created. If …

Member Avatar for riahc3
0
324
Member Avatar for riahc3

Hello Im looking for a good date picker and easy to implement. HTML, PHP, and/or Javascript. Since this is professional, I need also several things: 1: Language support. 2: If I pick Feburary, it doesnt show a legal day as 31 3: 3 dropdown boxes: One for month, another for …

Member Avatar for pritaeas
0
112
Member Avatar for riahc3

Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it?

Member Avatar for riahc3
0
235
Member Avatar for riahc3

Hello First off the server is running Windows 7 32bits. I have the following code: <?php $fp = fopen(getcwd()."/test.txt", "w"); fwrite($fp, "hello"); chmod(getcwd()."/test.txt", 0777); unlink(getcwd()."/test.txt"); fclose($fp); ?> It creates the file perfectly but afterwards I cannot delete it. Giving me this error: Warning: unlink(C:\test.txt) [function.unlink]: Permission denied in C:\writeanddel.php on …

Member Avatar for Ezzaral
0
1K
Member Avatar for riahc3

Hello I want to do a indexOf but of certain special characters such as variable.indexOf(''')==-1) variable.indexOf('/')==-1) variable.indexOf('')==-1) variable.indexOf('"')==-1) etc, etc. How can I do this?

Member Avatar for pritaeas
0
74
Member Avatar for riahc3

Hello I want to make a simple bat file in Windows 7 but the command (route) only works in admin mode so I would have to ask for admin premissions. How do I do this in a bat file? Thank you

Member Avatar for riahc3
0
112
Member Avatar for riahc3

(The answers for getting a reply for this HERE are near null but might as well give it a shot....) Hello My products have a item option that is stored in “sales_flat_quote_item_option”. This happens when I select this option for the product and I add the product to that cart. …

Member Avatar for riahc3
0
74
Member Avatar for riahc3

Hey I want to Load/read/write a big file (ISO) in C#. Ive tried various combinations (FileStream, BinaryStream, etc) but all of them give me a "OutOfMemory" exception. What is the best way to load a big file into C# to work with it? Ill be using the DiscUtils library if …

Member Avatar for BobS0327
0
402
Member Avatar for riahc3

This is a continuation of the last thread. I insert 3 files: Two bins (path and a number) and either a jpg or a bmp This does the following. 1: Connects to FTP and changes to C:/ (/) 2: It checks if a webfolder exists. If it is, goes to …

Member Avatar for riahc3
0
461
Member Avatar for riahc3

Hello Im trying to do some basic FTP work. What I am trying to do is: 1: Search for a folder named "hi" in "C:". If hi exists, enter it. If it doesnt, create it THEN enter it. 2: Inside hi, count FILES and see if there is greater or …

Member Avatar for Taywin
0
485
Member Avatar for riahc3

Is there any easy IDE that lets you build a easy GUI with Java? I wish you could comply native Java using VS! :P

Member Avatar for ~s.o.s~
0
300
Member Avatar for riahc3

Hello I have the following: String somestring="203/9834/345"; somestring.replace("/",""); System.out.println(somestring); But it does not remove the slashes. How can I remove them? Thanks

Member Avatar for riahc3
0
143
Member Avatar for riahc3

Hello Why does my cookie work offline but not offline? It simply stores text, nothing else. Is there some limit that can be blocking it or something?

Member Avatar for riahc3
0
118
Member Avatar for riahc3

Hello I want to be able to be on a page and have a favorite that points to http://localhost/export which is a web service. When I select that favorite, the current web page Im on should send all of its source code to the web service. The web service should …

Member Avatar for Taywin
0
226
Member Avatar for riahc3

Hey I want to make a Visual C++ program targeting x86 (and ARM) Windows CE .NET 4.20 using .NET Compact Framework. How do I do this? Thanks

0
53
Member Avatar for riahc3

Hello How do I write a C++ program targeting a x86 version of Windows CE in Visual Studio 2008? It doesnt show me Windows CE and more so, all it targets is ARM. Thanks

0
67
Member Avatar for riahc3

This one is going to be intresting.... Im trying to access the method of BeginAcceptTcpClient in a System.Net.Sockets.TcpListener type of object but it seems that the 3.5 .NET Compact Framework does not support it..... Is there a equivilent method or how can I emulate the method with other code? Thank …

0
55
Member Avatar for riahc3

Hey I want to do something like this: <script language="javascript"> function calculatesha() { var name = document.getElementById("firstname").value; var last = document.getElementById("lastname").value; var complete = name+last; var hash = <?php echo(sha1(?>complete<?php));?>; } </script> I hope the code is understood even if it is wrong. Thanks.

Member Avatar for riahc3
0
311
Member Avatar for riahc3
Member Avatar for pritaeas
0
66
Member Avatar for riahc3

Hello Im using org.apache.commons.net's FTP object to make FTP transfers. The problem is that when the IP is down (example, the PC is turned off) a exception saying "No route to host" pops up and not only delays my program but gives a nasty error. How can I avoid this? …

Member Avatar for Taywin
0
263
Member Avatar for riahc3

Hey I want to make a website lets say http://www.mysite.com but before they view it, they have to login with username and password (those are stored in a DB). It doesnt matter if they access http://www.mysite.com/hello http://www.mysite.com/hello.html or http://www.mysite.com/hello/something/j.php ect the first time they access, they have to login, else …

Member Avatar for Dragennd
0
391
Member Avatar for riahc3

I was going to start Apache/Tomcat as root but Ive rethought it and have gone against it. How can I make my web service read/write from "/"? I keep getting permission denied exceptions...

Member Avatar for riahc3
0
195
Member Avatar for riahc3

Hey How do I run my web service as root? Yes, I know the security implecations of this. Thanks

Member Avatar for Irina54
0
163
Member Avatar for riahc3

Hey Im looking for a easy and fast way to install Apache Tomcat and Axis 2 on a Ubuntu box. I followed a guide but it left my PC a mess (I couldnt get updates correctly) Thank you

Member Avatar for riahc3
0
342
Member Avatar for riahc3

Hello Im posting this in C because Arena is highly influenced by C.... Im trying to open a file using fopen but I cant get it to work. Ive made the permissions on the file 777 (all) just in case but it doesnt work. Can someone please test that it …

Member Avatar for Ancient Dragon
0
131
Member Avatar for riahc3

Hello I want to run a command as sudo (to be especific open a file) but I dont want to run the entire program as sudo obviously. How do i do a fopen with sudo previlges? I dont mind hardcoding the password (eg, so it wont ask me for my …

Member Avatar for L7Sqr
0
152
Member Avatar for riahc3

Im wondering if there is a program for building GUIs with XML where I can simply build it visually (WYSIWYG style) and copy/paste the code in my Android IDE. Thanks

Member Avatar for Mike Askew
0
56
Member Avatar for riahc3

Hello I want to make two shell scripts but they shell scripts isnt exactly my language :P The following is all pseudocode The first script will run every say 5 minutes: if /tmp/media/sda1 exists or /tmp/media/sda2 exists or /tmp/media/sda3 exists or /tmp/media/sda4 exists then do variable storage=what ever above first …

Member Avatar for riahc3
0
184
Member Avatar for riahc3

How do i make a autorun usb that executes a shell script that is on the USB drive? This would be only for my system so if there is something i have to enable, no problem (i imagine something like this would be disabled for security reasons) I believe the …

Member Avatar for riahc3
0
282

The End.